@hans I just provisioned a VM in KVM with the Ansible playbook and followed the instructions in the README to finish installation. When I run the command fdroid build --latest org.fdroid.fdroid
, I get CRITICAL: Android SDK '$ANDROID_HOME' does not have 'build-tools' installed!
.
I find the Installing the Server and Repo Tools in the Docs section of the website where in the Building apps section I found that I have to download Android SDK tools and set it in the PATH variable. The link for the SDK took seems quite old, the last update was maybe 3 year ago?
If we go to Android Studio website and check for SDK Tools we see a Command line tools only
section where the latest SDK Tools are available, and they are different from the one mentioned in the doc.
Now here is my question: Why are we using 3-year-old SDK tool when we have new one available? Is it just that the docs are outdated but the new tools work fine or new tools are not tested, so we are rallying on our tested-trusted old tool?
A minor clarification, the apt-get
command on the first line of the same page has a long list of packages but at the end there are 3 dots (…) which is unusual for a command like this and raises the question if it means some packages are still remaining but got warped.
I am very new to building Android app with SDK tools, so I might have asked some stupid questions would be grateful for your help.