- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我是第一次使用 Linux。我只是按照说明如何通过 buildozer git hub 制作移动应用程序。
最后,当我尝试时,我明白了:
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r9c
[INFO]: Found virtualenv at /usr/local/bin/virtualenv
[INFO]: ccache is missing, the build will not be optimized in the future.
[WARNING]: Could not find toolchain subdirectory!
[WARNING]: Could not find any toolchain for arm-linux-androideabi!
[WARNING]: Missing executable: autoconf is not installed
[WARNING]: Missing executable: automake is not installed
[WARNING]: Missing executable: libtoolize is not installed
[ERROR]: python-for-android cannot continue; aborting
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3crystacks,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/buildozer/something/crystax-ndk-10.3.2/.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.
# In case of a bug report, please add a full log with log_level = 2
kivy@kivyvm:~/buildozer/something/crystax-ndk-10.3.2$
不知道它会是什么。
我做了以下事情:
git clone https://github.com/kivy/buildozer
cd buildozer
python setup.py build
sudo pip install -e .
在 buildozer 中我创建了一个文件夹 something。
在我提取的 Crystax NDK 中
在我做的事情中 buildozer init
最后我做了 buildozer android debug deploy run
最佳答案
除了用 pip 安装 buildozer you should also install这是 linux 依赖项。
如果您想使用特定的 NDK,您应该编辑您的 buildozer.spec
文件,该文件在您运行 buildozer init
后出现在您的项目文件夹中。
请看this short manual : 它包含您应该在 buildozer.spec
中更改以使用 Crystax 和 Python 3 的行。
关于android - 用于 kivy 的 buildozer,返回错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47761430/
这是我在构建我的 Android 应用程序时得到的显示。请帮忙! 可安装或更新的软件包:3 id: 1 or "tools" Type: Tool Desc: Android SD
谁能解决我的问题我在 linux 虚拟机上使用 buildozer 将 .py 文件转换为我的 android 手机的 apk 这是我的第一个 kivy 项目,我真的需要一些帮助才能使它成为可能 这是
我已经摸索了 3 天,试图让它工作。 (对android)我一直在互联网上,我已经尝试使用github.com/kivy/buildozer上列出的两个vm(顶部的引用和底部的引用)使用网站上提供的说
当我尝试使用 buildozer android debug deploy run 在我的设备上构建、推送和自动运行 apk 时,它显示了这些错误: # Check configuration tok
我正在使用 buildozer 开发带有 kivy 的 android 应用程序。 在我的 Ubuntu 中,编译 buildozer 后,我认为它会创建日志文件或 创建某种文件来占用我的硬盘。 你能
我之前将我的应用构建为 apk,但几天后我无法为 android 构建或更新。 我的.buildozer/android/platform/python-for-android是空的,不知道是不是什么
我正在尝试为我用 Python 3 编写的程序制作一个 Android 应用。 在此之前我已经处理并解决了几个问题,但目前我不知道是什么导致了这个问题。如果您需要任何其他信息来帮助我解决此问题,我将非
我正在尝试构建我的 kivy 应用程序,但是运行 buildozer android debug --verbose 我得到的唯一信息如下: [...] Run prebuild Call prebu
我尝试用 buildozer 为 android 编译 kivy,但它没有工作,我找不到解决这个问题的方法。所以我尝试从 kivy 网站安装虚拟机,它应该包括这个,来自这个链接: http://kiv
在构建 apk 时,在 Windows 中与 Ubuntu 18.04 虚拟机共享文件夹中编写的项目会出现以下错误: # Install platform # Run 'git config
运行时出现以下错误 buildozer android debug deploy run (VirtualBox 上的 Ubuntu 64 14.04): Traceback (most recent
我已经尝试构建 APK 3 天了。总的来说,我对 Linux 很陌生,我已经按照本教程进行操作:https://www.youtube.com/watch?v=kcte8vcGMSU 我按照他的说明做
我正在尝试运行 buildozer 第一步buildozer init没问题 当我这样做时:buildozer -v android debug它给我发了错误: JAVA_HOME is set to
我正在尝试使用 buildozer 将 python 文件编译为 APK。安装所有依赖项(包括 SDK 和 NDK)并运行 buildozer android deploy run 后,出现以下错误:
我目前使用的是 python 2.7.9。我试过重新安装 cython 并更新所有依赖项,但它没有用。我不知道 Buildozer 或 Cython 有什么问题。该应用程序直接从终端正常运行。 #er
我正在尝试使用 buildozer 编译我的 kivy 应用程序。我在 kivy Android 虚拟机上使用 Windows。 configure: error: in '/home/kivy/Mo
我在 VirtualBox 上使用 Ubuntu 64 14.04,我已经使用 Buildozer 成功制作了 .apk 文件,但是当我在 Android SDK 模拟器(在 Windows 上运行)
我曾尝试在 android 的 kivy 应用程序上导入 python 模块,无论如何,每当我在 buildozer.spec 中添加需求时,构建都会失败: # Run 'pip install --
我使用 Python 2.7 构建了一个 kivy 应用程序。我使用了导入语句 from kivy.app import App from kivy.uix.floatlayout import Fl
我已经使用 pymysql 模块在 kivy 中创建了一个应用程序来创建一个简单的登录系统。 python 文件在我的桌面上运行时没有错误,但是当我在我的 Nexus 平板电脑上运行该应用程序时,它崩
我是一名优秀的程序员,十分优秀!