kivy: Command failed: tar xjf android-ndk-r9c-linux-x86_64.tar.bz2
Versions
- Python: 2.7
- OS: Ubuntu 16.04
- Kivy: v.1.9.1
- Kivy installation method: https://gist.github.com/jhoonb/9454386
Description
When I try to build android ndk using:
buildozer android debug deploy run
I got the error.
After searching, I see that this issue has not been asked yet.
Code and Logs
import kivy
from kivy.app import App
from kivy.uix.label import Label
class MyApp(App):
def build(self):
return Label(text='hello')
if __name__ == '__main__':
MyApp().run()
(venv) loctv@loctv:~/venv/code$ python main.py
[INFO ] [Logger ] Record log in /home/loctv/.kivy/logs/kivy_17-02-23_2.txt
[INFO ] [Kivy ] v1.9.1
[INFO ] [Python ] v2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609]
[INFO ] [Factory ] 179 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_pygame (img_pil, img_ffpyplayer
ignored)
[INFO ] [Text ] Provider: pygame
[INFO ] [Window ] Provider: pygame(['window_egl_rpi'] ignored)
[INFO ] [GL ] OpenGL version <3.0 Mesa 12.0.6>
[INFO ] [GL ] OpenGL vendor <Intel Open Source Technology Center>
[INFO ] [GL ] OpenGL renderer <Mesa DRI Intel(R) Ivybridge Mobile >
[INFO ] [GL ] OpenGL parsed version: 3, 0
[INFO ] [GL ] Shading version <1.30>
[INFO ] [GL ] Texture max size <8192>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [OSC ] using <multiprocessing> for socket
[INFO ] [Base ] Start application main loop
[INFO ] [GL ] NPOT texture support is available
[INFO ] [Base ] Leaving application in progress...
(venv) loctv@loctv:~/venv/code$ buildozer init
File buildozer.spec created, ready to customize!
(venv) loctv@loctv:~/venv/code$ buildozer android debug deploy run
# Check requirements for android
# Install platform
# Apache ANT found at /home/loctv/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/loctv/.buildozer/android/platform/android-sdk-20
# Android NDK is missing, downloading
# Unpacking Android NDK
# Command failed: tar xjf android-ndk-r9c-linux-x86_64.tar.bz2
#
# Buildozer failed to execute the last command
# If the error is not obvious, please raise the log_level to 2
# and retry the latest command.
# In case of a bug report, please add a full log with log_level = 2
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (14 by maintainers)
Commits related to this issue
- Update NDK path. closes #5013 — committed to kivy/buildozer by Zen-CODE 7 years ago
Yes, should be. You’ll know, because it will either work or give a different error 😃