Commit d30e08ba authored by Eugene Shapovalov's avatar Eugene Shapovalov 💬

Fix crash with multidex on kitkat.

parent 5e7fb565
package ru.terrakok.gitlabclient
import android.app.Application
import android.content.Context
import android.graphics.Color
import android.os.Build
import androidx.multidex.MultiDex
import com.crashlytics.android.Crashlytics
import com.jakewharton.threetenabp.AndroidThreeTen
import io.fabric.sdk.android.Fabric
......@@ -18,6 +21,14 @@ import toothpick.configuration.Configuration
*/
class App : Application() {
override fun attachBaseContext(base: Context?) {
super.attachBaseContext(base)
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
MultiDex.install(this)
}
}
override fun onCreate() {
super.onCreate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment