android - buildozer for android 无法构建我的应用程序

标签 android python kivy

我之前将我的应用构建为 apk,但几天后我无法为 android 构建或更新。
我的.buildozer/android/platform/python-for-android是空的,不知道是不是什么原因?看起来任何命令都不适用于 android,例如: buildozer android 版本给我:

...
id: 3 or "android-19"
     Type: Platform
     Desc: Android SDK Platform 4.4.2
           Revision 3
----------
id: 4 or "android-18"
     Type: Platform
     Desc: Android SDK Platform 4.3
           Revision 2
...
----------
id: 55 or "extra-google-play_licensing"
     Type: Extra
     Desc: Google Play Licensing Library, revision 2
           By Google Inc.
           Google Play Licensing client library
           Install path: extras/google/play_licensing
----------
id: 56 or "extra-google-webdriver"
     Type: Extra
     Desc: Google Web Driver, revision 2
           By Google Inc.
           WebDriver
           Install path: extras/google/webdriver

# Android packages installation done.
# Check application requirements
# Run './distribute.sh -l'
# Cwd /home/t/py/other/foodapp/.buildozer/android/platform/python-for-android
/bin/sh: 1: ./distribute.sh: not found
# Command failed: ./distribute.sh -l

最佳答案

尝试运行

    buildozer android update

我在构建 apk 时遇到了一些问题,但是在运行清理然后更新之后它工作了。

关于android - buildozer for android 无法构建我的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24476020/

相关文章:

android - 在android中检测主页按钮按下

java - 从我的 java android 应用程序执行 python 脚本

python - 断言函数未在 Python unittest 中执行

python - 在 Selenium 中显示当前光标位置

python - 在使用 Python 3.5 或 3.6 的 Windows 上安装 Kivy 时出错

kivy 下拉菜单自动关闭

android - 刷新 ListView

android - 键盘出现后如何隐藏底部 TabLayout?

python - 如何一次从 numpy 数组中排除几个范围?

python - 如何使 LAN 客户端可以发现服务器