You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO]: Selecting java build tool:
[INFO]: Detected highest available build tools version to be 28.0.3
[INFO]: Building with gradle, as gradle executable is present
[INFO]: -> running gradlew assembleDebug
[INFO]: <- directory context /mnt/c/users/bobf/documents/pm/tst
[INFO]: # Copying APK to current directory
[INFO]: # APK filename not found in build output. Guessing...
Traceback (most recent call last):
File "/usr/local/bin/p4a", line 11, in <module>
load_entry_point('python-for-android==0.6.0', 'console_scripts', 'p4a')()
File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 1031, in main ToolchainCL()
File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 551, in __init__ getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 150, in wrapper_func func(self, args)
File "/usr/local/lib/python3.6/dist-packages/pythonforandroid/toolchain.py", line 897, in apk raise ValueError('Couldn\'t find the built APK')
ValueError: Couldn't find the built APK
The text was updated successfully, but these errors were encountered:
Did you build completely fresh, removing your old distribution?
New distributions will have a newer gradle, where the output path is indeed different. But if you're building an existing older distribution with the old gradle still lying around, that might be the problem.
Versions
Description
p4a crashes after gradle build, using master installed here 12/13/2018
Problem is p4a expects gradle output in:
but gradle creates the .apk in:
I have no idea why this changed.
The workaround is on line 852 of toolchain.py
buildozer.spec
Command:
Spec file: .p4a
Logs
The text was updated successfully, but these errors were encountered: