[Python] Where Should I Extract Crystax In Buildozer | Sololearn: Learn to code for FREE!

+23

[Python] Where Should I Extract Crystax In Buildozer

I'm Confused Where To Extract Crystax NDK In Buildozer Framework ? Should I Extract It In buildozer-master/buildozer/here or buildozer-master/here ?

3/16/2018 4:53:05 PM

warlord

2 Answers

New Answer

+26

@Baraa B My Question Is About Where Should I Extract The Crystax NDK ? It Says buildozer Parent Diractory("buildozer-master") Or The Other One(There Is A Diractory Inside buildozer-master Called "buildozer") Which Path ?

+7

IN PYTHON 2: # via pip (latest stable, recommended) sudo pip install buildozer # latest dev version sudo pip install https://github.com/kivy/buildozer/archive/master.zip # git clone, for working on buildozer git clone https://github.com/kivy/buildozer cd buildozer python setup.py build sudo pip install -e . Go into your application directory and run: buildozer init # edit the buildozer.spec, then buildozer android debug deploy run IN PYTHON 3: Install buildozer from source: git clone https://github.com/kivy/buildozer cd buildozer python setup.py build sudo pip install -e . Download and extract the Crystax NDK somewhere (~/.buildozer/crystax-ndk is one option): https://www.crystax.net/en/download Go into your application directory and execute: buildozer init Make sure the following lines are in your buildozer.spec file.: # Require python3crystax: requirements = python3crystax,kivy # Point to the directory where you extracted the crystax-ndk: android.ndk_path = <Your install path here. Use ~ for home DIR> Finally, build, deploy and run the app on your phone: buildozer android debug deploy run Please note the "android" buildozer target, and use that for any and all buildozer commands you run (even if the docs just say "android").