Can I Change Version Code From Apk?
Solution 1:
Solution 2:
Yes, use [this link][1] it explains many things over there. I will copy paste it:
Tools:
apktool — tool for reverse engineering Android apk files. In this case we are using to extract files from apk and rebuild. keytool — Java tool for creating keys/certs, that comes with the JDK. jarsigner Java tool for signing JAR/APK files, that comes with the JDK. zipalign — archive alignment tool, that comes with the Android SDK.
Instructions:
- apktool d my_application.apk
- Change versionCode in apktool.yml.
- apktool b my_application
- keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
- jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application/dist/my_application.apk alias_name
- jarsigner -verify -verbose -certs my_application/dist/my_application.apk
- zipalign -v 4 my_application/dist/my_application.apk my_application/dist/my_application-aligned.apk
But to be honest, i still couldn't manage it, Google Play Store says "ERROR: MIN_SIG_SCHEME_FOR_TARGET_SDK_NOT_MET: Target SDK version 30 requires a minimum of signature scheme v2; the APK is not signed with this or a later signature scheme", so i don't guarrantee you that it will work but you can give it a try. [1]: https://medium.com/@sandeepcirusanagunla/decompile-and-recompile-an-android-apk-using-apktool-3d84c2055a82
Solution 3:
It's simple: You need to,
- Download the apk (Under release management on google play console and go to Artifact Library)
- Decompile the apk
- Update the versioncode in manifest
- Recompile the apk
Solution 4:
you can do the followings
- decompile the apk
- update the versioncode in manifest
- again recompile the apk
you can use apktool
Post a Comment for "Can I Change Version Code From Apk?"