Closed Kozubi closed 5 years ago
Is your main file named main.py?
Also, I don't think django will work, as there isn't currently a recipe for it. There was one for the old toolchain though, so it shouldn't be hard to add it if necessary.
Yes i try with main.py. The problem I think is django is running with manage.py command. I have no idea if it is executed. Btw. where can I find old toolchain?
With flask is same :/
python-for-android apk --ndk-dir /home/mk/Pulpit/kivy/crystax-ndk-10.3.2 --requirements=flask,sqlite3 --bootstrap=webview --port=5000 --android_api=19 --name=flasko --version=0.1 --package=com.kozubi.dj --private=bin --permission=INTERNET
Checked both with python3crystax and standard ndk No idea what is wrong :(
Closing as stale.
Hello, I made a simple hello-world Django app to check if it can be compiled with webview bootstrap. I used following command:
python-for-android apk --ndk-dir /home/mk/Pulpit/kivy/crystax-ndk-10.3.2 --requirements=python3crystax,sqlite3,django --bootstrap=webview --port=8000 --android_api=19 --name=djangusek --version=0.1 --package=com.kozubi.dj --private=bin
App is loaded on phone BUT it stays on loading screen. Logcat: