我之前将我的应用程序构建到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
答案 0 :(得分:1)
尝试运行
buildozer android update
我在构建apk时遇到了一些问题,但是在运行clean之后再更新它就可以了。