I am thinking of writing a simple app with Python+Kivy, mostly for my own use - nothing fancy. For development, I would like to be able to
- Compile the app into a package
- Run it on an Android emulator
Sadly, at the moment I cannot quite close the loop - and googling didn't help.
I believe I downloaded all the relevant tools: Kivy, buildozer, Android SDK. I typed in the Kivy 'hello world' app, and it runs fine without Android emulation - unfortunately, when running it under the emulator (with suggested architecture x86), I get an error INSTALL_FAILED_NO_MATCHING_ABIS
. If I make an emulator device with an ARM architecture (which is pretty slow to run), I can at least install the app on the emulated device - but it crashes once loaded. Error message is not informative.
I am guessing somehow I need to build the package for the native x86 architecture (?) which is the recommended default emulator in the Android emulator wizard - is that right? If so, how do I do it with buildozer
tool? Or maybe I can run it on the ARM architecture, without it crashing?
Some finer detail:
- I am running on OSX
- I am building the package with the suggested command
buildozer -v android debug
- To install the app, I drag it onto the emulator window (there probably is a better way..?)
- The emulator is the one coming with Android SDK, I'm emulating the default 'Nexus 5X' phone
- Android SDK version is 23