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
I have an error when executing buildozer android debug
Traceback (most recent call last):
File "/root/.local/bin/buildozer", line 8, in
sys.exit(main())
File "/root/.local/lib/python3.10/site-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/root/.local/lib/python3.10/site-packages/buildozer/init.py", line 1024, in run_command
self.target.run_commands(args)
File "/root/.local/lib/python3.10/site-packages/buildozer/target.py", line 93, in run_commands
func(args)
File "/root/.local/lib/python3.10/site-packages/buildozer/target.py", line 103, in cmd_debug
self.buildozer.prepare_for_build()
File "/root/.local/lib/python3.10/site-packages/buildozer/init.py", line 172, in prepare_for_build
self.target.install_platform()
File "/root/.local/lib/python3.10/site-packages/buildozer/targets/android.py", line 616, in install_platform
self._install_android_packages()
File "/root/.local/lib/python3.10/site-packages/buildozer/targets/android.py", line 567, in _install_android_packages
self._check_aidl(installed_v_build_tools)
File "/root/.local/lib/python3.10/site-packages/buildozer/targets/android.py", line 592, in _check_aidl
_, _, returncode = self.buildozer.cmd(aidl_cmd,
File "/root/.local/lib/python3.10/site-packages/buildozer/init.py", line 289, in cmd
process = Popen(command, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/root/.buildozer/android/platform/android-sdk/build-tools/35.0.0-rc4/aidl'
And executed in the /root/.buildozer/android/platform/android-sdk/tools/bin directory:
./sdkmanager --list --sdk_root=./
./sdkmanager --licenses --sdk_root=./
I also checked whether the aidl file exists through the ls command, but when I manually open the aidl, the system says that the file cannot be executed and there is no such file or directory. I clearly agreed to the Google license, so what went wrong?
The text was updated successfully, but these errors were encountered:
Looks like Run '/home/user/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager --sdk_root=/home/user/.buildozer/android/platform/android-sdk platform-tools'
and other commands that trigger license request - happen in this function here:
👋 @libai919,
Sorry to hear you are having difficulties with Kivy's Buildozer; Kivy unites a number of different technologies, so building apps can be temperamental.
We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to Buildozer. This issue has been closed, because it doesn't describe a bug or new feature request for Buildozer.
There is a mailing list and a Discord channel to support Kivy users debugging their own systems, which should be able to help. They are linked in the ReadMe.
Of course, if it turns out you have stumbled over a bug in Buildozer, we do want to hear about it here. The support channels should be able to help you craft an appropriate bug report.
I have an error when executing buildozer android debug
Traceback (most recent call last):
File "/root/.local/bin/buildozer", line 8, in
sys.exit(main())
File "/root/.local/lib/python3.10/site-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/root/.local/lib/python3.10/site-packages/buildozer/init.py", line 1024, in run_command
self.target.run_commands(args)
File "/root/.local/lib/python3.10/site-packages/buildozer/target.py", line 93, in run_commands
func(args)
File "/root/.local/lib/python3.10/site-packages/buildozer/target.py", line 103, in cmd_debug
self.buildozer.prepare_for_build()
File "/root/.local/lib/python3.10/site-packages/buildozer/init.py", line 172, in prepare_for_build
self.target.install_platform()
File "/root/.local/lib/python3.10/site-packages/buildozer/targets/android.py", line 616, in install_platform
self._install_android_packages()
File "/root/.local/lib/python3.10/site-packages/buildozer/targets/android.py", line 567, in _install_android_packages
self._check_aidl(installed_v_build_tools)
File "/root/.local/lib/python3.10/site-packages/buildozer/targets/android.py", line 592, in _check_aidl
_, _, returncode = self.buildozer.cmd(aidl_cmd,
File "/root/.local/lib/python3.10/site-packages/buildozer/init.py", line 289, in cmd
process = Popen(command, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/root/.buildozer/android/platform/android-sdk/build-tools/35.0.0-rc4/aidl'
And executed in the /root/.buildozer/android/platform/android-sdk/tools/bin directory:
./sdkmanager --list --sdk_root=./
./sdkmanager --licenses --sdk_root=./
I also checked whether the aidl file exists through the ls command, but when I manually open the aidl, the system says that the file cannot be executed and there is no such file or directory. I clearly agreed to the Google license, so what went wrong?
The text was updated successfully, but these errors were encountered: