#Even when no changes are made I am getting this, why ?

1 messages · Page 1 of 1 (latest)

quiet warren
#

WARN] Your app contains native changes, which cannot be applied with a patch.
Changed files:
base/dex/classes2.dex
base/dex/classes3.dex

white turret
#

Is it at all possible that there's some non-determinism in your build process such that the dex classes would change even if you don't change any code? I personally would see if you can reproduce and then do a diff between v1 and v2 of the files you listed to see what's changed and then try and track it down.

turbid axle
#

Yup it could also be that you’re not pinning native dependencies

white turret
#

This is tricky! I am running into this myself now. Android Studio reports no change (at least in size) between the two. Worth mentioning both were built locally via flutter build apk which I assume should show the same changes as when built on CI via shorebird

#

Sadly the tool above seems to hang on actually comparing the APKs

#
⚔️ dex-diff v0.1.2
🧠 Heap size: 16384 MB
🚀 Initialising...
➡️ Decompiling before APK... (this may take some time)
🙌 decompiling before.apk skipped as cache exist
✅ Decompiling before APK finished
➡️ Decompiling after APK... (this may take some time)
🙌 decompiling after.apk skipped as cache exist
✅ Decompiling after APK finished
✅ Decompile finished (835ms)
➡️ Comparing before and after... (this may take some time)