alexwekell Member Licensed User Longtime User Jul 4, 2014 #1 Since I've upgraded to 3.82 I cannot create an apk with a new version code. The B4A project file shows that I can save with a new version code, but I still keep getting an error when uploading the APK that I am using the same version code in this case. In this case Old version (14) -> Update to work with Android L -> Change version code to (15) -> B4A saves version code -> Create .APK -> Error, you need to change the version code to something above 14 Another user suggested activating an older .APK and then trying to upload the new one, but that is not possible either due to this reason: This configuration cannot be published for the following reason(s): It is forbidden to downgrade devices which previously matched version 14 to version 13, which would occur when API levels in range 4+ and Screen layouts containing any of [small, normal, large, xlarge] and OpenGL ES versions in range 2.0+ and Features containing all of [android.hardware.LOCATION, android.hardware.location.GPS, android.hardware.location.NETWORK, android.hardware.screen.PORTRAIT, android.hardware.TELEPHONY, android.hardware.TOUCHSCREEN].
Since I've upgraded to 3.82 I cannot create an apk with a new version code. The B4A project file shows that I can save with a new version code, but I still keep getting an error when uploading the APK that I am using the same version code in this case. In this case Old version (14) -> Update to work with Android L -> Change version code to (15) -> B4A saves version code -> Create .APK -> Error, you need to change the version code to something above 14 Another user suggested activating an older .APK and then trying to upload the new one, but that is not possible either due to this reason: This configuration cannot be published for the following reason(s): It is forbidden to downgrade devices which previously matched version 14 to version 13, which would occur when API levels in range 4+ and Screen layouts containing any of [small, normal, large, xlarge] and OpenGL ES versions in range 2.0+ and Features containing all of [android.hardware.LOCATION, android.hardware.location.GPS, android.hardware.location.NETWORK, android.hardware.screen.PORTRAIT, android.hardware.TELEPHONY, android.hardware.TOUCHSCREEN].
aaronk Well-Known Member Licensed User Longtime User Jul 4, 2014 #2 In the Activity called 'Main', up the very top is this where you changed the version number ? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 4, 2014 #4 Why are there duplicate attributes? Have you checked: Do not overwrite manifest file option? Can you post the content of the manifest editor? Upvote 0
Why are there duplicate attributes? Have you checked: Do not overwrite manifest file option? Can you post the content of the manifest editor?
alexwekell Member Licensed User Longtime User Jul 4, 2014 #5 Ah! That was it. Have you checked: Do not overwrite manifest file option? Unchecking this fixed it. Upvote 0