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

The "android" command is deprecated #519

Closed
mimi89999 opened this issue Jun 30, 2017 · 8 comments
Closed

The "android" command is deprecated #519

mimi89999 opened this issue Jun 30, 2017 · 8 comments

Comments

@mimi89999
Copy link

When building a Buildozer app with the latest SDK, I get:

# Android SDK found at /home/michel/android-sdk
# Android NDK found at /home/michel/android-sdk/ndk-bundle
# Run '/home/michel/android-sdk/tools/android list sdk -u -e'
# Cwd /home/michel/.buildozer/android/platform
*************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
*************************************************************************
Timed out waiting for input.
To suppress this prompt, run with --use-sdk-wrapper or set USE_SDK_WRAPPER.
# Command failed: /home/michel/android-sdk/tools/android list sdk -u -e
# 
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2

Buildozer should use sdkmanager commands now.

@misl6
Copy link
Member

misl6 commented Jun 30, 2017

For a quickly workaround just go back to "SDK Tools, Revision 25.3.0"

@mimi89999
Copy link
Author

This won't help since I am building on F-Droid...

@lzps
Copy link

lzps commented Jul 28, 2017

cd ./.buildozer/android/platform/python-for-android-master/
git pull origin master

export USE_SDK_WRAPPER=True

@inclement
Copy link
Member

This should be fixed for sdl2 by kivy/python-for-android#1071 , but it needs testing.

@comodoro
Copy link

I updated to current repository version:

pip install git+/~https://github.com/kivy/buildozer.git

and have version buildozer==0.34.dev0

but still encountered the prompt

@inclement
Copy link
Member

inclement commented Sep 16, 2017

@comodoro You might need to clean any existing downloaded SDK.

@comodoro
Copy link

Confirmed, I was using my existing up-to-date SDK (which does not work anyway), but deleting ~/.buildozer has helped (with this particular prompt)

@inclement
Copy link
Member

Closed by #806

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

5 participants