[Android] Enable multidexing

Geoffrey Métais git at videolan.org
Mon Jun 24 17:29:31 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jun 24 17:29:14 2019 +0200| [e56cd4fc0e497a6177533652c64d22ec9e83475b] | committer: Geoffrey Métais

Enable multidexing

> https://code.videolan.org/videolan/vlc-android/commit/e56cd4fc0e497a6177533652c64d22ec9e83475b
---

 vlc-android/build.gradle | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vlc-android/build.gradle b/vlc-android/build.gradle
index e6674305c..e91f98cd9 100644
--- a/vlc-android/build.gradle
+++ b/vlc-android/build.gradle
@@ -64,6 +64,7 @@ android {
         versionCode rootProject.ext.versionCode
         versionName rootProject.ext.versionName
         vectorDrawables.useSupportLibrary = true
+        multiDexEnabled true
 
         tasks.whenTaskAdded { task ->
             if (task.name.startsWith('merge')) {
@@ -240,6 +241,7 @@ dependencies {
     implementation "androidx.annotation:annotation:$rootProject.ext.androidxAnnotationVersion"
     implementation "androidx.preference:preference:$androidxPreferencesVersion"
     implementation "androidx.constraintlayout:constraintlayout:$rootProject.ext.constraintLayoutVersion"
+    implementation 'androidx.multidex:multidex:2.0.1'
 
     //TV
     implementation "androidx.leanback:leanback:$rootProject.ext.androidxVersion"



More information about the Android mailing list