android - buildozer 下载没有 api 的 android sdk
问题描述
我跑了buildozer android debug
,我看到了这个:
# Read available permissions from api-versions.xml
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/hamid/Desktop/myfirstkivy/.buildozer/android/platform/build'
# Cwd /home/hamid/Desktop/myfirstkivy/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are ()
[WARNING]: Requested API target 19 is not available, install it with the SDK android tool.
[WARNING]: Exiting.
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/hamid/Desktop/myfirstkivy/.buildozer/android/platform/build
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
如您所见,没有 android API。当我尝试使用 android sdk manager 安装 API 时~/.buildozer/android/platform/android-sdk-20/tools/android
,没有 API 可以安装它:
如何为 Android SDK 安装 API?我可以手动下载 SDK 或 API 并将其连接到 buildozer 吗?为什么 buildozer 无法下载正确的 SDK?
解决方案
推荐阅读
- ruby - 拆分字符串时忽略空捕获
- c# - 在 IIS 服务器上部署站点在为 umbraco 休息服务保存样式表时抛出 404
- angular - 如何读取角度 5 中可观察的值以显示或隐藏错误消息
- javascript - Angular - 动态注入内容到
零件 - c# - 如何解决限制为从 Azure ServiceBus 读取 1 个客户端的问题
- java - Proteus 中的 Arduino Uno 发送 � 字符
- vhdl - VHDL 按钮和 LED
- javascript - Office365 胖客户端中使用的 DOM 和 JavaScript 引擎
- mongodb - 我怎样才能在 mongodb 中得到这个结果?
- testing - 如何在 Testcafe 中记录 Google Analytics 调用?