I have recently written an app, but I can’t build it because I need the Android SDK. I don’t want to use it though because I’ve heard it may not be free or fully open source.
Anyway when I try to build it with gradlew, I get an error saying:
SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
Since I don’t have a folder containing the SDK I obviously can’t provide the directory.
I have read about efforts to provide free builds of the SDK by figuring out how to building them from source on the blog at some point.
Is that a thing now? Is there a drop in replacement for the Android SDK that I can download into a folder which I can then use in the sdk.dir or ANDROID_HOME variable?
Surely I can’t be the only one in the community with this problem, right?
I’m on Linux (Fedora) btw.