From 867b722361a1cbedf4d612a8cebf453eca95780d Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Sun, 6 Aug 2023 18:49:50 +0200 Subject: [PATCH] Enable multidex --- postixdroid/app/build.gradle | 2 ++ .../src/main/java/de/ccc/events/postixdroid/Postixdroid.java | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/postixdroid/app/build.gradle b/postixdroid/app/build.gradle index dccfae3..26121d4 100644 --- a/postixdroid/app/build.gradle +++ b/postixdroid/app/build.gradle @@ -9,6 +9,7 @@ android { targetSdkVersion 33 versionCode 4 versionName "camp23.0" + multiDexEnabled true } lintOptions { @@ -45,6 +46,7 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation 'com.android.support:multidex:1.0.3' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.9.0' implementation 'me.dm7.barcodescanner:zxing:1.9.8' diff --git a/postixdroid/app/src/main/java/de/ccc/events/postixdroid/Postixdroid.java b/postixdroid/app/src/main/java/de/ccc/events/postixdroid/Postixdroid.java index cf4afd9..3d49381 100644 --- a/postixdroid/app/src/main/java/de/ccc/events/postixdroid/Postixdroid.java +++ b/postixdroid/app/src/main/java/de/ccc/events/postixdroid/Postixdroid.java @@ -2,7 +2,9 @@ import android.app.Application; -public class Postixdroid extends Application { +import androidx.multidex.MultiDexApplication; + +public class Postixdroid extends MultiDexApplication { /* * It is not a security problem that the keystore password is hardcoded in plain text. * It would be only relevant in a case in which the attack would have either root access on the