Skip to content

Commit

Permalink
Add multidex support
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciotogneri committed Dec 26, 2019
1 parent 7c92cc7 commit 1c16f66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ android
applicationId 'com.mauriciotogneri.fileexplorer'
minSdkVersion 16
targetSdkVersion 28
versionCode 17
versionName '1.4.0'
versionCode 18
versionName '1.5.0'
multiDexEnabled true
}

signingConfigs
Expand Down Expand Up @@ -66,6 +67,8 @@ android

dependencies
{
implementation 'androidx.multidex:multidex:2.0.1'

implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.2.0-alpha03'
Expand All @@ -75,4 +78,8 @@ dependencies

// crashlytics
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'

// in-app messaging
implementation 'com.google.firebase:firebase-inappmessaging-display:19.0.2'
implementation 'com.google.firebase:firebase-analytics:17.2.1'
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.mauriciotogneri.fileexplorer.app;

import android.app.Application;
import android.os.StrictMode;

import com.crashlytics.android.Crashlytics;
Expand All @@ -9,9 +8,10 @@

import java.lang.Thread.UncaughtExceptionHandler;

import androidx.multidex.MultiDexApplication;
import io.fabric.sdk.android.Fabric;

public class FileExplorer extends Application
public class FileExplorer extends MultiDexApplication
{
@Override
public void onCreate()
Expand Down

0 comments on commit 1c16f66

Please sign in to comment.