用Python来开发安卓程序:(1)BeeWare安卓开发环境的搭建
本帖最后由 我真的爱发明 于 2022-11-30 13:55 编辑1. 前言
用Python来开发安卓程序不是最好的选择,但一定是一个可以偷懒的选择,我们这里采用BeeWare来完成这个工作。
2. BeeWare简介
[*]BeeWare是一个基于Python构建的跨平台应用开发框架,宣称是Write once. Deploy everywhere.
[*]能够让 Python 编写的图形程序在 iOS, Android, Windows, MacOS, Linux, Web, 和 tvOS 上运行,看起来是很强大的。
[*]
[*]官网
[*]toga/examples at main · beeware/toga · GitHub
[*]
3. 开发环境搭建注意事项
[*]应该使用Python3.8,否则安卓编译工具可能会安装不成功
[*]https://remnote-user-data.s3.amazonaws.com/0AEWtoJPaMbBzhey1vRmZW-9_nhLuTghMFYO1P9CUQX9FihygizVTiXjcbOA0IjABQl2f5PFCFmOv3zDzEVYBLvAFKT-aH7UGqL77G3cFqblq6akjOMHS13T0x4gzXCK.png ##
[*]最好可以科学上网,否则安装的速度太慢了
[*]项目名称不要使用中文名,否则会报错
[*]
4. 安装BeeWare
[*]pip install briefcase
[*]https://remnote-user-data.s3.amazonaws.com/Su7XRkK4WBdvzlgr60jemR5Q1cXW6_UM3S8r4l9No3QaJh3ls5jip_0zF_GKp9mRtuA6tH1vwdB64Ep_cTwjGR0z8MFaWWg_SHhOARoUnnSkUA7jmMadZIXSlPiCjNyL.png
[*]
5. 开发环境搭建5.1 创建项目5.1.1 创建一个新项目
[*]直接在命令行中输入 briefcase new
[*]https://remnote-user-data.s3.amazonaws.com/V6xPS04bnnuehNpyZ7BKk1UOKJWJ7LKqmKafwITPltsb6UKAS7GWXkZLkcTx28_LpBAgiCD5Qn9dM5iF2UZwYqU2IPTtMSsDJOYokoSJJogyAqvp3J0KSMJuzKf4HiGz.png
[*]输入这个命令之后,会让我们继续输入应用的正式名称,应用程序名称、域名、项目名称等等相关信息。根据自己的实际需要进行选择即可,当然了,也可以像我一样图省事儿全部都使用默认值
[*]https://remnote-user-data.s3.amazonaws.com/UvYBE1ePvk9auzn8XcWYS46WfuoF1-M2yFgjBo4Id_OvpHSqnzF9D6M_EF898aGUW7h9iaQ8sNJP-QSoY6AgAHHateSAXrmz3C18NUdT-UofG0hQGhHGE2-_1Odkajsd.png ###
[*]把所有的信息都填完之后,就会开始创建项目了
[*]https://remnote-user-data.s3.amazonaws.com/ZdU49peiLk1NOUqMWhXDPeO45PoY0hdV4ZdF-vU5AHWVqywg9gswsNkdZ9EAWIglqB4BTIESrmKPGvZYVUoo8XLVPJCQgehafT01HiUEUtjlKORLfowGnQ3VJm_pQtnn.png
[*]创建完成后会看见自己的当前目录下出现一个对应的项目文件夹
[*]https://remnote-user-data.s3.amazonaws.com/hhZdud4J9fnlBuwiQDgyJf8I90IDX7vh2kweEduniiA3XCw9sBhQnLMOxbyLQnzxMSWkX0sWoKI6tnvnAbNehtAAcC5S7X_9UUp5SunYkqNWNQaENjRQnY0NFLiTPAK8.png
[*]
5.2 运行项目
[*]之后进入项目根目录,输入 briefcase dev 运行项目
[*]https://remnote-user-data.s3.amazonaws.com/sv1z83Gir5B9L7kqq6eE6KaMfwurOiXhjDFSIWoBhCiVPJ9JldrEJFrN5-KSc5XjA30H3QdP87SdTjS0_gORWX3nLvzTwtRg27HhMzhVMqGM8BfNTQkZa2zGbWU0BCt7.png
[*]
[*]https://remnote-user-data.s3.amazonaws.com/5pxApWuUlE24njy0--uxH_siSQI4_XBwXlsysAzJfXgWBo8QQIzd1gJG9T1g6FYGSd85FO-SwHMTZYIugc6evdvBz9WNJiIzD6mwJZkytAd2C3YCtI698PqJ8QOiWg8I.png
[*]
5.3 打包项目5.3.1 打包为Windows程序
[*]我们接下来将briefcase打包为Windows程序
5.3.1.1 首先briefcase create安装应用的脚手架
[*]https://remnote-user-data.s3.amazonaws.com/nNc7S_s5aPMzgS5O8SyfZX5OEhAvKZMaBrE-tWrOHhemngp80rBfR81BQP_ZqYt1O0rdN4ZEKtFCw__xSEKCXFLu2HBpLl2mvgvbAJ_oFYPKkLVsP1EQwjGtMK6XXYBB.png
[*]https://remnote-user-data.s3.amazonaws.com/9X6qO_dHWDAj7woncpjNSDZ5g-gkQG4dwWzUB8Gkmo4qr2taeO2rR5p3eFZp3NNnGgbKi_8DD_NBGDP1PldPmkOAhoBtrYsUKtTgadfTrlvWPOiDxpKgHQfWPHx-elX5.png
[*]运行命令,将会生成一些与配置的文件,然后下载对应依赖的包
[*]完成之后,项目目录下会生成一个Windows目录,如下图所示
[*]https://remnote-user-data.s3.amazonaws.com/oY0jeJ3Jvwm51ojc2FmnrlnRq1wxZgivC4DJ5Ra6gUbpOE6ujzlUZVU-60kMcao2sjzIV8OEt4is6NrFM4xdE0RJ41utiOYdt7SxuMQm9YcTQfUVffttMSCoZCwMXint.png
5.3.1.2 然后构建应用
[*]briefcase build
[*]https://remnote-user-data.s3.amazonaws.com/8EW8iu1w24yGb2jK9i3_n20MBP1ymgDzPkSV9TZ89oRL-rIvrn_TRid0MOhraWZP_iSfMramKQNfyM7Cqbbkp80APgb2bt6f5X6Q8ZrokePFSOoeo07jmNRZUE_VqeWN.png
[*]https://remnote-user-data.s3.amazonaws.com/6a2G9BCqwql9QaVKTvtQts61sJE6fZS2b_7uiFvERf0UuJfmyFfSaxCDwu4OmlnB0tjmqcyZVdPDHSV2qxk4DoAtKtVA1UM_lykJeCZR_NaJj6p1t83W-NhpYf8lOefV.png ###
5.3.1.3 接着,运行构建的应用
[*]briefcase run
[*]https://remnote-user-data.s3.amazonaws.com/R2DyFjqwC9RIWbXm9xaYGDEF9jKYcjZXA9LYkjS6xMpb-r_liCycONcSxM-NE_XYJ3O4FHYfrEINvnflk_qP24NtGB1ZPpwyafSqpAFNfQfxM5WmVVPzapyCtGBVc48x.png
[*]如果应用可以正常运行的话,那么我们下面就可以对它进行打包了###
5.3.1.3 最后,打包应用
[*]briefcase package
[*]https://remnote-user-data.s3.amazonaws.com/1RuV7Ha1duYLfCCuTk-XhDuo-obmNdWKK27Crm-Cj0lbgIjVrNN6WekZUsZrvdVtuF2pe7-fhDMWU_CC0w_mOqK2GGJybUNPhWojzXPJwpzfjKNjN7pDZi3mj5uxXFLQ.png
[*]https://remnote-user-data.s3.amazonaws.com/jCHsps9a_ez3an7xHHUmasi9DCjpFHIHUTuHQIjCHX2ryK9C9kbw3HMqjw0AiQ4kU6EmEA9vzgEX9U9rUvEefU_iyx1x4xENlEPbGvfG2xaxrF0uycexvUNF5Xgwtxto.png
[*]打包完成后会在Windows文件夹下生成一个.msi的二进制安装文件
[*]https://remnote-user-data.s3.amazonaws.com/Ek2w77M2Isg8NYiwXvE6Bxr9u2Eg8YtnLY72M4LcWnx6beMalFcbuQbdk9HNjeOlslpAsNFLmBHsbZxdgIJYd8dd-oWkZi6zZRry5cy39vBp2bmP0JOt-mXisMK2MAYE.png
5.3.1.4 安装软件
[*]我们双击运行它,会出现常见的Windows程序的安装界面
[*]https://remnote-user-data.s3.amazonaws.com/yezYHmojyCVWH7t-uPs84xn4_qDLUUojWIqVxpDYLCrBbKc6zf9sphfQ_k-IEQkZ0OhjAYosJYl7nwgOCgW0nzxdlECGy5eHL4EU-WgWUtkMckecXKTJvS_W0SX1vbYL.png
[*]https://remnote-user-data.s3.amazonaws.com/-V9mUsw8E_4Ja-g6RzQ25QymYj-JvWmW1fNVhTG_ihWRiISgLjUB9_7X9F8TVy236ERCeUdtPoPBaKbkMYT0VfQqvXT5WkIbP2wWPIBbzsGxmVmscczCpTey5qhfHlMp.png
[*]https://remnote-user-data.s3.amazonaws.com/JLO5oFlK2GNPmmMwdd9C736fZs6cHjxWkXjjDCjCtoJEGNqdFO5_s0GEDjv0xRIKnpcco_KEewdPWykHCUq5scwp4yj4aivnZ8_FkGO3wMX3DjTLJFXtKxHj_560NlxV.png
[*]https://remnote-user-data.s3.amazonaws.com/SfNEO8mswEIvTLAUKLCruCv5sghL71KNg9kGc6kJWXnRdtV-bdi-HwxF8U729shthnerp-j5PPInVx5ZwBYIv35TrXK0Sgavm2Nd1GZnXXXyZre8fVlN5BDqexBizqn4.png
[*]https://remnote-user-data.s3.amazonaws.com/0GDVdXiJYn-R6WJt-l2bKOoWoXeosOgvNxmZD03LYPTiYUmJUpqd_ynyGcMCN5cWIRxzNFzBC0Yol8gW0-aGmqK0IWrop6hOdVLL8Hr5W098csotxXlqCdHgdDI86Lhb.png
[*]安装完之后,我们甚至可以在Windows的应用列表中看到刚才安装的这个软件
[*]https://remnote-user-data.s3.amazonaws.com/kJgsmF19rCD0_AyxMSZ02q2hF5tCNaQslP-1Qgcff0WjaX5g3t5OXy0ArbOzp7PtUnsj2WoPMyV1fRQkbtU1PlwTRpEhu6CA-cWkGnK-KDoLMvHR7KWUQp2GVRDH3DEP.png
[*]点击打开它
[*]https://remnote-user-data.s3.amazonaws.com/RRlv2cso3qcaVPJOWEkwA45q_9XZEnP5CPvWFBwYQ3_C-_vJIBZ9_LEkjhIl8EqYa0E1kfLk6FSk6zaOtnqrfzFIdgfCymtpUsUxr3KgDCPG3FCOLDvQVPyHPL1DCWDk.png
5.3.2 打包为安卓APP
[*]如果我们想将其打包为安卓APP,那么和打包为Windows程序的过程也是非常类似的
5.3.2.1 首先,创建应用的安卓脚手架
[*]briefcase create android
[*]这个下载的时间可能会久一点
[*]中间的所有过程都输入Y
[*]https://remnote-user-data.s3.amazonaws.com/NFxZ8krnaHS6jhH_eRb-Ht2Wp7AQa-ZGywwU97xjeBH59p_N3HEeW3FezAb9LzPMAt-_mj85tqsPujFWithyBEedc39br3dfA1M2wkL64VsyKMp-wmh-DqQaOYYZhkeT.png
[*]https://remnote-user-data.s3.amazonaws.com/QfWgM0Wb8AxTm-ASN0MRGkW5AjcdoKshFmzft2RPIu4_maubf0oR5W5TWzfCjVNVtyg5I3PouQvl7wriN8Z2rASYmQJa0fhTJLSxgm0SwqWQqt77bYzqjmJbocVT3xFJ.png ###
[*]之后脚手架就安装成功了
[*]https://remnote-user-data.s3.amazonaws.com/QjvGm_gb6PnDXMoq5ms8KGNrMTbj9IigyeybV4cydSKqAwPRuCuf60dOEHnU1PgTOcrZ1r_gejO8ZQDI87DDuGM5VRxF--6r0UtL854VtE1DBbh2o0WRr4xrjb6Du5p0.png ### ###
5.3.2.2 接着,构建安卓应用
[*]briefcase build android
[*]https://remnote-user-data.s3.amazonaws.com/FGFonxxZNDBrze-zbVo6w0w6XTEKMc9LFy31_YDW3tZcYFOU-z-iPJI6qURAEghHcueRGZJYi4BeXAnmmUEflK3_7vKbhzdk-26kuuNTYKCKO7Z3c8Lw4g4c79GHBM2d.png ###
[*]https://remnote-user-data.s3.amazonaws.com/FgYZ7CceZak5yLIscG_9E2Jq6R-Ac5EvHY3ixzOQ6qchaG020fmMYaiIP76QPfDzT1rQ7kZyQjRlLwdWaKuHMDKkDw2rvcgxMg90-NoLxfKV6eAoewqEwzoF5yuzcLGw.png
[*]https://remnote-user-data.s3.amazonaws.com/xw9frNroa1KnGYrgHQrwkQVFzJSlqw6bzPbVDfWUOOYdd4aNiaYVXbXVcXEBRGLGt2exYWLQstPG_2lPBieWnBV2yR5rE5R1mZvyIwm2_NCrkiXmDJfT4AH2PN_j6t6n.png
[*]这个过程需要下载grade,所以会持续好长一段时间,要有耐心
[*]https://remnote-user-data.s3.amazonaws.com/LmDuk3qKW4AwvwZbXUDCFhQlfNRQw8O_1DoK_QBVm4JtgJpWwX37WOBVaaIuezQn2Notql7XgMF-K8gAhsacBah0N4pJSP7jKOEnwh83W3bglXxzCJBXv6zrDX5BZNZf.png
[*]最终,经过24分钟的漫长等待之后,终于下载好了
[*]https://remnote-user-data.s3.amazonaws.com/wrpPMrGkHw1tampTL2KDL5UXn2ORVH0UnvVwF-L0V1YaFp_SdpExPwj_CYFQZJ0Knl1H8v73A77paZNPRxc7eUeJ6vhe_c6_zUlQeJvM36gUWYJPK6MbkP5FA2YsZVas.png ###
5.3.2.3 运行构建好的安卓应用
[*]briefcase run android
[*]在这里会让我们选择手机设备,可以选择提供的安卓虚拟机,或者是在电脑上连接自己的手机。
[*]使用安卓手机进行运行
[*]在这里,我们使用选择使用安卓虚拟机进行运行
[*]https://remnote-user-data.s3.amazonaws.com/1W1qUV8Bx6o1y_LKbAI3TQf0rqm3XujdSeOvroBQE_Tec-uRbP51Fq5jLla3TUhvf8QYZvMvgIH0rOLoEMNnns8ot5lkf04obWsWE0jl3RdS1E5wueY3bEVBTGKhWQs0.png
[*]首先是进行安卓虚拟机的安装,需要说明的是,用自己的手机马上就可以验证向左,而如果用虚拟机的话,依然是需要漫长的下载等待
[*]https://remnote-user-data.s3.amazonaws.com/T6F50yr4sWBHcYh2ocvE_oK2iHCMupWJD-T6LtgU6LotsFUmwhdhGGkqcW66jQHapbsVJ4c8w_k4Wrl6f99GhcGYHpUKU1eaAKeZERpP6gUeP0TsDUqSFWqIkmomLBE3.png
[*]安装完毕
[*]https://remnote-user-data.s3.amazonaws.com/s_YYMhla7fbfhyxTviHy2YcGsKesP6NabwEg-5ITJxv1m-HwoHdLX4pW16PIpOIgR8XB45PsfH0nxqHqzSScxzcG9JGoSiC_JkqrmMxPl3tSuejzBMZKvn9iPvawSq85.png
[*]启动虚拟机过程中
[*]https://remnote-user-data.s3.amazonaws.com/kUn7TDY9hhPx-W32DF3FiUdsMxz80FNtSaT-GpU6AN9FtE6dZfm83w73u3lErwqK6zxf2BzqIyuQrG8euH6Sthy94nr4iQaHC72lesRDzgg_191aJHJTMxWxtvjOGJhe.png
[*]虚拟机运行安卓程序
[*]https://remnote-user-data.s3.amazonaws.com/gVyDY8d2vAK3WyuQtMargi8-L1NZ-9UrZHRPofaLa1wVYdL5lY04_B18qQBFUimyKYQVRXqGFghVqxGkKu1MeYocFpO7HTSg5Qk47ZwI1Z9UZbA6bezwxK7DOVjS15_v.png
[*]
5.3.2.4 使用自己的手机设备进行运行
[*]这个就很简单了,命令行直接通过数据线把对应的APP安装到手机上进行运行,也很方便
[*]https://remnote-user-data.s3.amazonaws.com/2rYzJ6_udwlXBnAyAxCuvPn-m7NbfoLpTiiwLQVmVZQ3mlyz-lCF0QgozFDKTtuKi3zO2FloTKv1_Abcozlz8TuWstgcoyEPqho7kNXnDzh-UCN0-eIL3tcAHlwqi1ju.png
[*]https://remnote-user-data.s3.amazonaws.com/6WNJliIVz-pZd-WzvWcpGuT1-4IoU6pUf9cZuPmaib1Bl8mZrRPh-2WEkR_mTN6vbLmSxnwb6KAeS1RV-_3dGh4TO4sSCIvXlnXcwyerfTCHWou76WrGkz5XLENhqAyx.png
[*]
5.3.2.5 最后打包安卓应用
[*]briefcase package android
[*]https://remnote-user-data.s3.amazonaws.com/FJpiMNMBkUgvw0WVxx1BdpxpAk6nN0T7e_MOqzBSNRkyPPvsBR-y9vbG7K-UN_EFsn5Ric3MuVScGXA3Pi0BP7nBtdYyaRUg0Irdia6jFmKzHbIGQIREYZ0M_q364m4J.png ###
[*]打包完成后,我们可以在.\android\gradle\Hello World\app\build\outputs 下面找到打包好的文件
[*]https://remnote-user-data.s3.amazonaws.com/o4kqD_-Nk1Dk9MPA117G7N855rH7N2OrPB_pwVBnyyrE7W7khXNQxPYNc_m8v3dUXZjAd4NSmTWFn3mof3jIhnYX5caKhKI2zMlB_F6rlAF7I1IRAt8z79RXOTbRZika.png
[*]BeeWare提供了两种打包好的文件,一种是用于谷歌商店发布的.aab文件
[*]https://remnote-user-data.s3.amazonaws.com/s0y19vAltHqRnZueypf-ihUQ_DOn3lkOMWmy9EMc8vPl1g7qri0zsexfv6xw-59zZJZyHI2Cw2LN3uvcx9xK3AYvqhHO4Qtsvzjg5GNFqqxRIPug-H3bRc5anqV7ujC6.png
[*]另一种是用于调试的.apk文件
[*]https://remnote-user-data.s3.amazonaws.com/ql39DbsgxWSD_Rj-HLbD-7eMoMBwd9R686se4gC0ouYcyMRMOF2U8MDQlyrN4kiYIQeUzQoNZDC4piJy58pR3kegQcJ4P-kqb80vutpC8XfT8iPGbGV-3GJAF9o1gu8I.png
[*]我们安装的话就用这个APK文件### ###
5.3.2.6 手机端安装APP
[*]https://remnote-user-data.s3.amazonaws.com/SJ7QLvwTq9e3JjYum3be6nCL_62Z29d77BiSRkTTcELPjyGWVN2sbv0rm9Lq-KnwMtUEhE28mKrA3S2CKLM5pzMnMeTNByUgeROUkMQeblPHuyQP2ealWdaA8ENF6lrD.png
[*]https://remnote-user-data.s3.amazonaws.com/0NJpeLAL1HKYtJ3dLyrfJ8EM7DJvcBKvP48t1SXMuRh9Mhdn6WemD6irT8TWikNGDKL6LL1v9dUxLyBtStNDY_0eZ_sTeblixoGCmE_leJLF_sUTkJ7tnaeRp-HEuYBy.png
[*]https://remnote-user-data.s3.amazonaws.com/-pihpmanvxX176R59Uny6OQsO5lUOUmWK8jMC-C2Y4BjY9CzawdoJ6slLuEzsmJ4ocbdYBzV99XbD5k1yCHmd7oUA5_1tuS7nY7juQ8QsN0Iv_2bD2cdlGZbIg_nyET3.png###
[*]https://remnote-user-data.s3.amazonaws.com/WRv9nbz7FVrknACgldYdNHfsfdKU_KkujXRLrqLwX8V0fgmHyrm7-U-a847qBkYBBmYDtuXpLPEXNfRvhDrqE6MEO4Qh2zUB_Q2l_grCUKrVv82sAwEcp_41aJKqjsDw.png
[*]这样用Python来编译开发android应用的流程就完成了。
6. 报错编码错误
[*]https://remnote-user-data.s3.amazonaws.com/wGMKmoFkbmGFF-TqAAUIqDPE7PXrVLc6TVFC4Jh9xWOf6UPniiYsgADlio3BQ8eGPsKJSvDZUunhWWh-q0iC6oIuZGcfFBlhRcvyc-lmKq07y_qwpHkjMRhcyB-wns3Z.png
[*]不要使用中文路径
[*]briefcase build android 时Error while building project.
[*]https://remnote-user-data.s3.amazonaws.com/f1r7KGp__L5XDaD-pKDxSXgfIrYU55GcMissGWk9R0RnvUlAyWbulPxCajGqoHOmGjVlsuLMuJziBDl8_TFO8zU_LllSXA4pEsbJF0Og3ShhZ4ZUtceSH-95nFIz2IKq.png
[*]可能之前自己安装过一次,所以这里依然残留有安装报错的文件,将它们删掉之后再安装就好了
就是下面这个文件
[*]https://remnote-user-data.s3.amazonaws.com/v2lPsrwPCBqR_NwYdgUcTr-Z8S7OYvIUa6vUdgbUfrrt9hU6BJ252Mv_cDOL1DYu_IpC49pe_aRE7QScuzp8J3ehUCqUMe6XZfgA_FP3i3AkrksLriRR-xm2RF1oTHq5.png
[*]C:\Users\Lenovo\AppData\Local\BeeWare\briefcase\Cache\tools\android_sdk\ndk\21.4.7075529
[*]将C:\Users\Lenovo\AppData\Local\BeeWare\briefcase\Cache
[*]文件夹的所有文件都删除
[*]
[*]之后再重新安装,可以发现已经不报错了
[*]https://remnote-user-data.s3.amazonaws.com/XNLgGcrghoM3AdbFLRCVvUipkdEUFdXipOAJsIdj-BJq3ZuF_-eYBLSBzz-IsmgkCcPy1D_hHU9Mh2tXore_HinYINPcQdsdrugmcJSv6UARIzpnAG5ALDSVsErQAoDp.png
[*]
[*]
Warning: Still waiting for package manifests to be fetched remotely
[*]https://remnote-user-data.s3.amazonaws.com/3LkdAEGAYtKUrR4Z3xwpfuYkWkyu8QB1Ye00Fhy9NPTh1WU1LJx_nks6hfsHzRTOAMPAk1K1tSn6KGIBGo7D5QQExBAT0qAE7-3u2OjkXMDvdZDYkKIydKA7VdTZVU4E.png
[*]简单来说就是网络不好,多等一会儿,也许就可以进行下一步了
[*]https://remnote-user-data.s3.amazonaws.com/T_PuJ4umOGcUFB6VT_-UiHoL5QhixITYSSGoPk1GWurf_1bhfBBPYFbBldCCsnQyzPc7EnQ-Z2hQsohy-glMKEbrS-Ajf0G1yEK4FAtuFa_SXZtd4HRnIbwqoDA4k1W1.png
[*]https://remnote-user-data.s3.amazonaws.com/K7IluxdGJlJf4X4-D5thLc1Wr-J-AGHh4maLRXo7dZ2gdko5HkfAVBBtPZDU0Fg51En2-olnmmNinx473BCwUuQGZndrA3RJ8Nv49OIV9zr-kwcz6afsHHl9EORsy_hb.png ##
Unable to install dependencies. This may be because one of your dependencies is invalid, or because pip was unable to connect to the PyPI server.
[*]简单来说,就是自己的电脑连不上Python的官方服务器
给命令设置一下代理即可
[*]https://remnote-user-data.s3.amazonaws.com/UwGR0VxkdpHujpoAPjhtzleoes5jAu3VDzhPeWF07qSbiuCl8KN8xU6rr7p5mQZYSB1zZAij7W8n96ve9U9G4NcVa6TQMlU5h2H0qnXRFCu_Gcldhf0yNiTEAYWSJ3gu.png ##
7. 问题
[*]BeeWare的缓存文件放在哪里
[*]https://remnote-user-data.s3.amazonaws.com/RNA60dyfBm4f6QT_ZaYtz9G3NPCElFyQ2Sgd1hi9qAAAip7t6DFdRUzTLsvQ4oojbNL7ewHTwnNoUaA5YLruC0HbT3qUpdQXSRYxMvSRx8cWbqXrMwysjvl-ykFoapRt.png ##
8. 参考教程
[*]参考安装教程
[*]用 Python 编写安卓 APK ,简单几步搞定 - 知乎
[*]官方的示例文档
[*]toga/examples at main · beeware/toga · GitHub
[*]BeeWare官方教程中文版--吉择--的博客-CSDN博客beeware
[*]
页:
[1]