kivy / buildozer

Generic Python packager for Android and iOS
https://buildozer.readthedocs.io
MIT License
1.75k stars 503 forks source link

# sdkmanager path "/home/mahesh/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager" does not exist, sdkmanager is notinstalled #1855

Open mahesh31122 opened 2 months ago

mahesh31122 commented 2 months ago

Versions

Description

// REPLACE ME: What are you trying to get done, what has happened, what went wrong, and what did you expect?

buildozer.spec

Command:

// REPLACE ME: buildozer command ran? e.g. buildozer android debug

Spec file:

// REPLACE ME: Paste your buildozer.spec file here

Logs

// REPLACE ME: Paste the build ouput containing the error
woobin3069 commented 2 months ago

It can be solved by installing it manually. try this:

mkdir -p ~/.buildozer/android/platform/android-sdk/cmdline-tools/latest cd ~/.buildozer/android/platform/android-sdk/cmdline-tools unzip ~/commandlinetools-linux-6858069_latest.zip mv cmdline-tools/* latest/ rmdir cmdline-tools

You may have to replace that number on a zip file if it has a different one.