Skip to content

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

Closed as not planned

Description

@NooRMaseR

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?

Activity

  1. github-actions commented on Jan 19, 2024

    @github-actions

    👋 @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions