Version is a decimal preferably with up to 2 places after the dot e.g. 1.01
There's a long historic discussion of that you can search through here.
On Monday, January 25, 2021 at 11:01:45 AM UTC+2 P5music wrote:
> I am trying to send the Android build of my app, after having purged my
> sources of methods CodenameOne does not have.
>
> Now I have only warnings about minor issues, but is it possible that I
> have to fix also those in a mandatory way?
>
> Indeed I get 3 errors with a NumberFormatException about the same
> parameter in the build.xml file: ${codename1.version}
> Note that also other parameters are in red all over the file (they total
> 25).
>
> This is the error:
> build.xml:355: Can't assign value '${codename1.version}' to attribute
> version, reason: class java.lang.NumberFormatException with message 'For
> input string: "${codename1.version}"'
>
> This is the tag:
> <target name="build-for-android-device"
> depends="clean,copy-android-override,copy-libs,jar,clean-override">
> <codeNameOne
> jarFile="${dist.jar}"
> displayName="${codename1.displayName}"
> packageName = "${codename1.packageName}"
> mainClassName = "${codename1.mainName}"
> version="${codename1.version}"
> icon="${codename1.icon}"
> vendor="${codename1.vendor}"
> subtitle="${codename1.secondaryTitle}"
>
> targetType="android"
> keystoreAlias="${codename1.android.keystoreAlias}"
> keystore="${codename1.android.keystore}"
> certPassword="${codename1.android.keystorePassword}"
> automated="${automated}"
> />
> </target>
>
> Thanks in advance
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/3f612b85-a323-4be2-a795-29beacb287c1n%40googlegroups.com.