Skip to content
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

error #1460

Closed
py928 opened this issue Jul 20, 2022 · 1 comment
Closed

error #1460

py928 opened this issue Jul 20, 2022 · 1 comment

Comments

@py928
Copy link

py928 commented Jul 20, 2022

[INFO]: Will compile for the following archs: armeabi-v7a, arm64-v8a
[INFO]: Found Android API target in $ANDROIDAPI: 27
[INFO]: Available Android APIs are (27)
[INFO]: Requested API target 27 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK: /root/.buildozer/android/platform/android-ndk-r19c
[INFO]: Found NDK version 19c
[INFO]: Getting NDK API version (i.e. minimum supported API) from user argument
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1294, in
main()
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 728, in init
getattr(self, command)(args)
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 144, in wrapper_func
user_ndk_api=self.ndk_api)
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 423, in prepare_build_environment
self.ccache = sh.which("ccache")
File "/usr/local/lib/python3.7/dist-packages/sh.py", line 1524, in call
return RunningCommand(cmd, call_args, stdin, stdout, stderr)
File "/usr/local/lib/python3.7/dist-packages/sh.py", line 788, in init
self.wait()
File "/usr/local/lib/python3.7/dist-packages/sh.py", line 845, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python3.7/dist-packages/sh.py", line 869, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:

RAN: /usr/bin/which ccache

STDOUT:

STDERR:

@py928 py928 closed this as completed Jul 20, 2022
@py928 py928 reopened this Jul 20, 2022
@py928 py928 changed the title error in error Jul 20, 2022
@misl6 misl6 mentioned this issue Jul 20, 2022
@misl6
Copy link
Member

misl6 commented Jul 20, 2022

Fixed via kivy/python-for-android#2637

ATM, targeting the develop branch of python-for-android from your buildozer.spec is the suggested workaround.

@misl6 misl6 closed this as completed Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants