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