diff options
Diffstat (limited to 'core/build.gradle')
-rw-r--r-- | core/build.gradle | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/build.gradle b/core/build.gradle index 08617c093..133f1b262 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -6,6 +6,7 @@ android { defaultConfig { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion + multiDexEnabled false versionCode 1 versionName "1.0" testApplicationId "de.danoeh.antennapod.core.tests" @@ -22,6 +23,14 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" } + debug { + // debug build has method count over 64k single-dex threshold. + // For building debug build to use on Android < 21 (pre-Android 5) devices, + // you need to manually change class + // de.danoeh.antennapod.PodcastApp to extend MultiDexApplication . + // See Issue #2813 + multiDexEnabled true + } } packagingOptions { |