Create a Basic Android App without an IDE

Iiridayn

Fantastic post. I’ve been wanting to build something in Android for ages, but the IDE always leaves me running screaming. Unfortunately, it might already be out of date - the environment variable I had to set was ANDROID_HOME (maybe a Windows vs Linux difference?), and more importantly the first build failed because licences weren’t accepted. The output links to http://d.android.com/r/stud… which forwards to https://developer.android.c… which has the comments:

> When you accept the license agreements using the SDK Manager, Android Studio creates a licenses directory inside the SDK home directory. This licenses directory is necessary for Gradle to auto-download missing packages.
> Note: Accepting the license agreements using the android command line tool does not create this licenses directory. You must first accept the agreements using the SDK Manager to be able to use this feature.

Can I get these licenses files appropriately without installing and running the SDK? (still a useful post if I can’t, many other things which are otherwise completely undocumented, etc).