-
Notifications
You must be signed in to change notification settings - Fork 18
Description
… because you seem to have built from a dirty tree with local modifications:
XML ELEM START [lineno=2, name='manifest', #attributes=7]
- ATTR: http://schemas.android.com/apk/res/android:versionCode=14
- ATTR: http://schemas.android.com/apk/res/android:versionName='1.0.13'
+ ATTR: http://schemas.android.com/apk/res/android:versionCode=13
+ ATTR: http://schemas.android.com/apk/res/android:versionName='1.0.12'
ATTR: http://schemas.android.com/apk/res/android:compileSdkVersion=36 The APK built from the tagged commit claims to be the next release already, and has some more differences even:
-rw-r--r-- 0.0 unx 120 b- 116 defN 1981-01-01 01:01:02 9356cb81 META-INF/version-control-info.textproto
- -rw-r--r-- 0.0 unx 14699 b- 14699 stor 1981-01-01 01:01:02 de983871 assets/dexopt/baseline.prof
+ -rw-r--r-- 0.0 unx 14698 b- 14698 stor 1981-01-01 01:01:02 ca11793c assets/dexopt/baseline.prof
-rw-r--r-- 0.0 unx 902 b- 902 stor 1981-01-01 01:01:02 0e240312 assets/dexopt/baseline.profm
-rw-r--r-- 0.0 unx 13342692 b- 4561872 defN 1981-01-01 01:01:02 14226d36 classes.dex
- -rw-r--r-- 0.0 unx 9420660 b- 3616286 defN 1981-01-01 01:01:02 2f816a55 classes2.dex
+ -rw-r--r-- 0.0 unx 9420660 b- 3616290 defN 1981-01-01 01:01:02 98cae8df classes2.dex
-rw-r--r-- 0.0 unx 4379180 b- 1487656 defN 1981-01-01 01:01:02 b5ced769 classes3.dex I see the APK was seemingly replaced 4h ago. It claims to have been built from the tagged commit, and your build.gradle at the tagged commit says
versionCode = 13
versionName = "1.0.12"So you obviously built that after having versioning increased already locally, but without committing and pushing those changes – effectively killing RB. The DEX diff confirms that:
access : 0x0019 (PUBLIC STATIC FINAL)
- value : 14
+ value : 13
#5 : (in Lcom/samyak/repostore/BuildConfig;)
name : 'VERSION_NAME'
type : 'Ljava/lang/String;'
access : 0x0019 (PUBLIC STATIC FINAL)
- value : "1.0.13"
+ value : "1.0.12"
Instance fields - Confirming the results of my analysis: after I applied the same changes to app/build.gradle.kts, RB was confirmed.
Please, head the "first basic rule" of our RB Hints for Developers, and
Caution
Always build release APKs from a clean tree at the commit the tag points to!
Also,
Warning
do not replace the APK at the currently latest release anymore, as that meanwhile has been picked up by our repo updater (so it won't be picked up again).
Further, I'm afraid, you will need to skip tag v1.0.13, and go straight to 1.0.14+15 for the next release – or nobody will be able to update, as the current release already claims to be v1.0.13+14 (Android uses versionCode to tell versions apart, and thus will ignore 14 as that's already installed – and our repo updater goes by tag names, and thus would ignore a v1.0.13 as we already have it)…