我尝试在 Ubuntu 19.04 上使用 Buildozer 1.2.1.dev0 构建适用于 Android 的 APK 文件,但出现此错误:构建失败:请求的 API 目标 27 不可用,请使用 SDK android 工具安装它。
我使用这个命令 lign: moha@moha-ubuntu:~/PracticePython$ buildozer android debug deploy run
这是我在终端中的错误:
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI: 27
[INFO]: Available Android APIs are ()
[ERROR]: Build failed: Requested API target 27 is not available, install it with the SDK android tool.
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy --arch armeabi-v7a --copy-libs …Run Code Online (Sandbox Code Playgroud)