-
-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to build android apk #1352
Comments
There is a brief freezing guide here https://pywebview.flowrl.com/guide/freezing.html#android |
@r0x0r , I've executed "pip install --upgrade pywebview", and got the "android.add_jars" absolute path and filled it into "buildozer.spec",
It seems that the libffi require GCC, but the NDK has get rid of GCC since r18(kivy/buildozer#1281) How to work around this error? Thanks. |
Sorry, I cannot help with buildozer issues. buildozer is finicky when it comes to getting environment right. Good luck! |
Sad, there's another error:
It seems the "todos/buildozer.spec" file needs some path configuration. |
Here is the deploy/build script that is working for me export ANDROIDSDK="/Users/roman/Library/Android/sdk"
export ANDROIDNDK="/Users/roman/Library/Android/sdk/ndk/25.0.8775105"
export ANDROIDAPI="30" # Target API version of your application
export NDKAPI="21" # Minimum supported API version of your application
export JAVA_HOME=/usr/local/opt/openjdk@17/
export ANDROID_SERIAL=emulator-5554
buildozer android debug deploy run |
buildozer Run Linux so i use the google cloab to make apk file first time you wait minimum 30 mint first kivymd apk build https://colab.research.google.com/drive/1kmIVFtTyXQF-PbSONC1uR7pnoMSh-aIk?usp=sharing |
Finally, I figured out what's wrong: I've submitted a pull request: #1368 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The message to post on the issue when closing it. If none provided, will not comment when closing an issue. |
The issue with building the todos app was incorrect |
https://github.com/r0x0r/pywebview/tree/master/examples/todos
i convert this code into the apk
I run all steps in google cloab
tell me how to build apk
The text was updated successfully, but these errors were encountered: