Problem
Hi everyone, I had a problem building an android application with Python Kivy, Buildozer. Buildozer wasn't downloading and installing the Android SDK Platform and it showed this error:
# sdkmanager path "/home/sergij/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager" does not exist, sdkmanager is notinstalled
There was no folder named android-sdk in the /.buildozer/android/platform/ folder. I tried deleting the .buildozer folder and trying again but it didn't work.
I'm using WSL 2 with Ubuntu 20.04, and I was trying to run this command: buildozer android debug deploy run.
Luckily I found a FIX.
FIX
To fix this problem just run buildozer as root. You can do that by running sudo buildozer android debug deploy run, instead of buildozer android debug deploy run.
I'm glad if I helped you. Bye, and have a nice day. Sergij Aleksovski.