File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/main/kotlin/com/rayfantasy/icode Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ dependencies {
120120 compile ' com.github.jd-alexander:LikeButton:0.1.8'
121121
122122 compile ' com.balysv.materialmenu:material-menu-toolbar:1.5.4'
123+
124+ compile ' com.android.support:multidex:1.0.0'
123125}
124126
125127bugly {
Original file line number Diff line number Diff line change 1616
1717package com.rayfantasy.icode
1818
19- import android.app.Application
2019import android.content.Context
2120import android.content.pm.PackageManager
21+ import android.support.multidex.MultiDexApplication
2222import com.raizlabs.android.dbflow.config.FlowManager
2323import com.rayfantasy.icode.model.ICodeTheme
2424import com.rayfantasy.icode.postutil.PostUtil
@@ -34,7 +34,7 @@ var CACHE_PATH by Delegates.notNull<String>()
3434var FILES_PATH by Delegates .notNull<String >()
3535 private set
3636
37- class BaseApplication : Application () {
37+ class BaseApplication : MultiDexApplication () {
3838
3939 private lateinit var refWatcher: RefWatcher
4040
@@ -63,6 +63,7 @@ class BaseApplication : Application() {
6363 FlowManager .init (this )
6464
6565 ICodeTheme .init (this )
66+
6667 }
6768
6869 override fun onTerminate () {
You can’t perform that action at this time.
0 commit comments