{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreiebg7gvyncgg4baawsxqtsmfkj7hrgcfxmgji6ikvm7dahzque2ze",
    "uri": "at://did:plc:34cg4tn4iwemk3v5k3n3adwf/app.bsky.feed.post/3mfsl4sjtbko2"
  },
  "path": "/t/understanding-details-of-build-environment/34144#post_1",
  "publishedAt": "2026-02-27T01:04:18.000Z",
  "site": "https://forum.f-droid.org",
  "tags": [
    "log: org.totschnig.myexpenses:834 - F-Droid Monitor"
  ],
  "textContent": "I am trying to understand a bug in the F-droid version of org.totschnig.myexpenses which seems caused by some details of the tool chain that are different from when I build the app locally.\n\nThe app crashes on Android 10 when using code from ktor-server library with\n\nCaused by: java.lang.VerifyError: Verifier rejected class dd.a: void dd.a.E(int, int, byte[]) failed to verify: void dd.a.E(int, int, byte[]): [0x8] void dd.a.E(int, int, byte[]): [0x8] register v3 has type Precise Reference: byte[] but expected Reference: java.lang.Object[]\n\nWhen I build the app locally with the Gradle command that is also used by F-droid (`packageExternReleaseUniversalApk), `the crash does not happen.\n\nLooking at the log file (log: org.totschnig.myexpenses:834 - F-Droid Monitor), I could not find any conclusive difference:\n\n  * It does not use the Gradle wrapper, but still uses the same Gradle version 9.3.1.\n  * The log file does not print which version of the Android Gradle Plugin is used, so I guess, it respects the version from my catalogue: 9.0.1\n  * It mentions Build tools version 36.0.0, which might be different from the one I would by default use locally (36.1.0), but even if add `buildToolsVersion \"36.0.0\" `to my local build, to force the same, my build still does not reproduce the issue.\n  * The log file does not print very specific information about the Java version used, besides the mention of “Java compiler version 21”\n\n\n\nSo I am left wondering, what else could cause the F-Droid build to behave differently, for example pick up a different AGP or R8 version?",
  "title": "Understanding details of build environment"
}