The goals of the Android SDK platform (for sbt gen-android <platform-target> <package name> <name>)

I do not understand about the target platform parameter for the gen-android command (Android-Sdk-plugin for SBT). Google doesn't help much either. Looks like there should be a way to poll android sdk about available target platforms?

There are no examples of the use of the android gene.

+6
source share
1 answer

Do sue, you are using SBT 0.13.5 or higher.

Then run sbt "gen-android android-19 com.your-pack testName" .

This should create packages and use Android sdk version 19.

+8
source

Source: https://habr.com/ru/post/977709/


All Articles