jberkel / android-plugin

An sbt plugin for Android development in Scala
https://groups.google.com/forum/#!forum/scala-on-android
Other
476 stars 113 forks source link

Problems with custom Android version #83

Closed choedl closed 13 years ago

choedl commented 13 years ago

We are using a customized Android version where the version information is not an Int.

This is our AndroidManifest.xml:

[...]
  android:versionCode="1"
  android:versionName="1.0">
 <uses-sdk android:minSdkVersion="customized" />
[...]

In this case we get the following error when starting sbt: java.lang.NumberFormatException: For input string: "customized"

Unfortunately it is not in our hand to change the version Information to an Int. Is it possible to use such a customized version with the sbt android plugin?

We are using version 0.6.0-SNAPSHOT.

jberkel commented 13 years ago

i guess it could be made to work, but it's a weird edge case, since the specification explictly requires an integer value in there:

http://developer.android.com/guide/topics/manifest/uses-sdk-element.html

choedl commented 13 years ago

Ok. Didn't know about that.