Cannot iterate: Android BuildConfig.java VERSION_CODE = 2 #242
-
I've had success deploying the FIRST internal testing product to Play Store. Now I'm stuck trying to iterate... After making changes to the App and running the Android > skip export I get a BuildConfig.java with the VERSION_CODE = 2; Trying to upload the signed "app-release.aab" I get Error “Version code 2 has already been used. Try another version code.” Can anyone tell me how the Java is getting the 2 - so that I can change it and iterate my App? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I've seen that happen before – I think Fastlane sometimes bumps this automatically when repeatedly trying to upload a version to the Play Store. What does the "Latest Version" report on the Google Play Console page for the app? I've always just gotten around it by incrementing the number to something higher. Ultimately, it doesn't matter what the number is, as long as it is higher than the most recently submitted version. |
Beta Was this translation helpful? Give feedback.
-
Oh... I think I found the CACHE... it's listed in Skip.env file! So I updated the Skip.env numbers... and starting down the build / export / sign... highway. (No Fastlane). // The configuration file for your Skip App (https://skip.tools). // PRODUCT_NAME is the default title of the app, which must match the app's Swift module name // PRODUCT_BUNDLE_IDENTIFIER is the unique id for both the iOS and Android app // The semantic version of the app // The build number specifying the internal app version // The package name for the Android entry point, referenced by the AndroidManifest.xml |
Beta Was this translation helpful? Give feedback.
Oh... I think I found the CACHE... it's listed in Skip.env file!
So I updated the Skip.env numbers... and starting down the build / export / sign... highway. (No Fastlane).
// The configuration file for your Skip App (https://skip.tools).
// Properties specified here are shared between
// Darwin/painlesspassword.xcconfig and Android/settings.gradle.kts
// and will be included in the app's metadata files
// Info.plist and AndroidManifest.xml
// PRODUCT_NAME is the default title of the app, which must match the app's Swift module name
PRODUCT_NAME = painlesspassword
// PRODUCT_BUNDLE_IDENTIFIER is the unique id for both the iOS and Android app
PRODUCT_BUNDLE_IDENTIFIER = com.lifeworksiq.pai…