diff options
author | cyBerta <cyberta@riseup.net> | 2018-02-07 23:44:14 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2018-02-07 23:44:14 +0100 |
commit | 6cd010c331cfd98078e657bb8d1107651daca49e (patch) | |
tree | d664bf391e0fe2abda37cd78947703b186515c14 /app | |
parent | 1ec166e66fe65e8642bfb8095d2f8212c355ef92 (diff) |
#8841 fixes multidex issue on Android devices with API < 20
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 1 | ||||
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/BitmaskApp.java | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle index c909b70f..30575ee7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -118,6 +118,7 @@ dependencies { implementation 'com.android.support:design:27.0.2' implementation 'com.android.support:support-fragment:27.0.2' implementation 'com.android.support.constraint:constraint-layout:1.0.2' + implementation 'com.android.support:multidex:1.0.2' } // Ensure the no-op dependency is always used in JVM tests. diff --git a/app/src/main/java/se/leap/bitmaskclient/BitmaskApp.java b/app/src/main/java/se/leap/bitmaskclient/BitmaskApp.java index f9e45b79..15fd85f8 100644 --- a/app/src/main/java/se/leap/bitmaskclient/BitmaskApp.java +++ b/app/src/main/java/se/leap/bitmaskclient/BitmaskApp.java @@ -1,7 +1,7 @@ package se.leap.bitmaskclient; -import android.app.Application; import android.content.Context; +import android.support.multidex.MultiDexApplication; import com.squareup.leakcanary.LeakCanary; import com.squareup.leakcanary.RefWatcher; @@ -10,7 +10,7 @@ import com.squareup.leakcanary.RefWatcher; * Created by cyberta on 24.10.17. */ -public class BitmaskApp extends Application { +public class BitmaskApp extends MultiDexApplication { private RefWatcher refWatcher; |