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

Build failed: Could not find android or sdkmanager binaries in Android SDK #2956

Closed
NooRMaseR opened this issue Jan 19, 2024 · 1 comment
Closed
Labels

Comments

@NooRMaseR
Copy link

NooRMaseR commented Jan 19, 2024

i was trying to create and android app with flet module and i wanted to use p4a to handel numpy, this is the code i use

export ANDROIDSDK="/mnt/c/Users/Administrator/AppData/Local/Android/Sdk"
export ANDROIDNDK="/mnt/c/Users/Administrator/AppData/Local/Android/Sdk/ndk/23.1.7779620"

p4a create --requirements numpy --arch arm64-v8a --arch armeabi-v7a --arch x86_64 --sdk-dir $ANDROIDSDK ndk-dir $ANDROIDNDK --dist-name serious_python

i use it on WSL ubuntu and i get the following

[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[INFO]:    Will compile for the following archs: armeabi-v7a, x86_64, arm64-v8a
[INFO]:    Android API target was not set manually, using the default of 33
[ERROR]:   Build failed: Could not find `android` or `sdkmanager` binaries in Android SDK
[INFO]:    Instructions: Make sure the path to the Android SDK is correct

any suggestion to solve that issue?

Copy link

👋 @NooRMaseR,
Sorry to hear you are having difficulties with Kivy's python-for-android; 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 python-for-android.
However, this issue appears to be a support request. Please use our support channels to get help with the project.
If you're having trouble installing python-for-android, please see our quickstart guide.
If you're having trouble using python-for-android, please see our troubleshooting guide and FAQ.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants