Closed NazarPonochevnyi closed 5 years ago
Thanks for te bug report.
Make sure you're on p4a master via p4a.branch = master
.
I'm not sure why you have such an error to be honest. The gradlew
script should be in your dist directory here: .buildozer/android/platform/build/dists/<app_name>/gradlew
, could you take a look there?
Also could you try sharing the full log, maybe it will give us some hints
Thanks for your attention! Strange, but after restarting everithing was fine with gradlew. However, gradlew didn't build my app...
Thanks for te bug report. Make sure you're on p4a master via
p4a.branch = master
. I'm not sure why you have such an error to be honest. Thegradlew
script should be in your dist directory here:.buildozer/android/platform/build/dists/<app_name>/gradlew
, could you take a look there? Also could you try sharing the full log, maybe it will give us some hints
Hi
I have bash: gradlew in the DIR: .buildozer/android/platform/build/dists/
No compiled python is present to zip, skipping.
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
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/daniel/Documents/Kivy/isindebeleonline/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1081, in
sh.CommandNotFound: ./gradlew
Versions
Description
I wanted to build my first app. Run command:
buildozer android debug deploy run
After listing all items it writes:
[INFO]: Selecting java build tool:
[INFO]: Detected highest available build tools version to be 29.0.0-rc2
[INFO]: Building with gradle, as gradle executable is present
however, instead of ziping it crashesI try to install
gradle
bysudo apt-get install gradle
. But it doesn't fix the problem.buildozer.spec
Command:
Spec file:
Logs