Call for Help: making free software builds of the Android SDK

What is the status of a Free SDK? I am looking to work on adding some apps to F-droid but I would rather not be dependent on proprietary software to do so. Do I need to build the SDK from source? That will take a while on my machine but it should be doable in a day.

It’s available on Debian:
https://tracker.debian.org/pkg/android-sdk-meta

There is a very old Android SDK packaged in Debian.