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

Fail to download Android SDK in Linux and Python 3.3 #110

Closed
tebanep opened this issue Apr 23, 2014 · 0 comments
Closed

Fail to download Android SDK in Linux and Python 3.3 #110

tebanep opened this issue Apr 23, 2014 · 0 comments

Comments

@tebanep
Copy link

tebanep commented Apr 23, 2014

Line 218 in buildozer/targets/android.py

def _install_android_sdk(self):
...
elif platform in ('linux2', 'linux3'):
archive = 'android-sdk_r{0}-linux.tgz'
unpacked = 'android-sdk-linux'
else:
raise SystemError('Unsupported platform: {0}'.format(platform))

instead it should be:

def _install_android_sdk(self):
...
# Modified line
elif platform.startswith('linux'):
archive = 'android-sdk_r{0}-linux.tgz'
unpacked = 'android-sdk-linux'
else:
raise SystemError('Unsupported platform: {0}'.format(platform))

And then it finally works. Thanks!

@tebanep tebanep changed the title Fail to download Android SDK in Linux and Python 3 Fail to download Android SDK in Linux and Python 3.3 Apr 23, 2014
@tito tito closed this as completed in 373f8e2 Jun 2, 2014
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

1 participant