[Support] specify our own Android SDK directory to buildozer
a-sajjad72 opened this issue · 3 comments
a-sajjad72 commented
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.
T-Dynamos commented
Make symbolic links?
a-sajjad72 commented
Make symbolic links?
can you show me how to do that?
T-Dynamos commented
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/