kivy/buildozer

[Support] specify our own Android SDK directory to buildozer

a-sajjad72 opened this issue · 3 comments

Versions

  • Python:3.11.9
  • OS: Ubuntu 24.04 LTS
  • Buildozer: 1.5.0

Description

As we know on the run of very first project after installing buildozer, it downloads the Android SDK in it's directory ~/.buildozer/android/platform/android-sdk. Is there any option available which we can specify the path of our existing Android SDK.
This is because I had already setup my Flutter and installed Android SDK. I don't want to duplicate the same things which I already had on my PC.

Make symbolic links?

Make symbolic links?

can you show me how to do that?

mkdir -p ~/.buildozer/android/platform/
ln -s <flutter ndk 25 path> ~/.buildozer/android/platform/android-ndk-r25b/
ln -s <flutter android sdk path> ~/.buildozer/android/platform/android-sdk/