File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
examples/testbed_native_android/android/app
src/main/java/io/branch/testbed_native_android Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ android {
77 applicationId " io.branch.testbed_native_android"
88 minSdkVersion 16
99 targetSdkVersion 25
10+ multiDexEnabled true
1011 versionCode 1
1112 versionName " 1.0"
1213 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
Original file line number Diff line number Diff line change 11package io .branch .testbed_native_android ;
22
3- import android .app .Application ;
3+ import android .content .Context ;
4+ import android .support .multidex .MultiDex ;
5+ import android .support .multidex .MultiDexApplication ;
46
57import io .branch .referral .Branch ;
68
79/**
810 * Created by jdee on 3/30/17.
911 */
1012
11- public class MainApplication extends Application {
13+ public class MainApplication extends MultiDexApplication {
1214 @ Override
1315 public void onCreate () {
1416 super .onCreate ();
1517 Branch .getAutoInstance (this );
1618 }
19+
20+ @ Override
21+ protected void attachBaseContext (Context base ) {
22+ super .attachBaseContext (base );
23+ MultiDex .install (this );
24+ }
1725}
You can’t perform that action at this time.
0 commit comments