'Gradlew Failed while building a Buildozer APK
I use buildozer to package my python scripts into an APK. I have never received problems until I upgraded to UBUNTU 20.04. Now all a sudden I keep on getting the error gradlew failed. I have tried all the possible solutions I could find, none of them worked.
- I have deleted the .gradle file
- I have run buildozer android clean/appclean/distclean
- I have uninstalled and reinstalled buildozer
- I have tried using API 27-30
Nothing has worked thus far.
Specs:
- UBUNTU 20.04
- Openjdk 17-ea 2021-09-14
Log of the part where it crashed:
[INFO]: COMMAND:
cd /home/slartibartfast/Dropbox/Projects/Test/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a && /home/slartibartfast/Dropbox/Projects/Test/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/gradlew assembleDebug
[WARNING]: ERROR: /home/slartibartfast/Dropbox/Projects/Test/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/gradlew failed!
WARNING: Received a --sdk argument, but this argument is deprecated and does nothing.
No setup.py/pyproject.toml used, copying full private data into .apk.
Applying Java source code patches...
Applying patch: src/patches/SDLActivity.java.patch
Warning: failed to apply patch (exit code 1), assuming it is already applied: src/patches/SDLActivity.java.patch
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
