2017-12-11 9 views
1

初めてLinuxを使用しています。私はbuildozer git hub経由でモバイルアプリケーションを作る方法を説明しています。buildozer for kivy、エラーを返します

は最終的に私はしようとしたとき、私はこれを取得:

[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 
[email protected]:~/buildozer/something/crystax-ndk-10.3.2$ 

はそれが何ができるかわかりません。

私は次のようでした:buildozerで

git clone https://github.com/kivy/buildozer 
cd buildozer 
python setup.py build 
sudo pip install -e . 

iは、フォルダの何かを作成しました。

は何かの中に私が

buildozer initをした何か内Crystax NDKに

を抽出し、最後に私はピップyou should also installそれがLinuxの依存関係をだとbuildozerインストールのほかにbuildozer android debug deploy run

答えて

1

をしました。

特定のNDKを使用する場合は、buildozer initを実行した後にプロジェクトフォルダに表示されたbuildozer.specファイルを編集する必要があります。

this short manualをご覧ください:それはCrystaxとPython 3

を使用する buildozer.specに変更すべき行が含まれています
関連する問題