Installing version 16 of the Android SDK tools -
i'm trying build project in android studio targets api16 (android version 4.1.2). using sdk manager able download sdk platform exception raised @ compile-time it's trying parse compiled .jar file:
bad class file magic (cafebabe) or version (0034.0000) my understanding of issue need build tools match api version i'm targeting (since have recent version of build tools). however, unable install them because they're unavailable in both sdk manager , on android website (http://developer.android.com/tools/revisions/build-tools.html). there way install version of build tools? (alternatively, if installing version of build tools unnecessary, how resolve issue?)
this problem java version (i.e. version jar, or rather class files within it, compiled with). has nil android version.
0x34 means jar compiled java 8 (see list of possible values here). android can utilize jars compiled java 6.
if have sources library, should recompile 1 time again -target 1.6 flag.
android sdk android-sdk-tools android-build
No comments:
Post a Comment