【发布时间】:2017-10-13 03:33:27
【问题描述】:
我的应用程序在 5.0 及更高版本上运行良好,但如果我在 5.0 中安装它,在我使用 multidex 库后会崩溃
android {
compileSdkVersion 22
buildToolsVersion "23.0.0"
defaultConfig {
minSdkVersion 14 //lower than 14 doesn't support multidex
targetSdkVersion 22
// Enabling multidex support.
multiDexEnabled true
}
}
dependencies {
compile 'com.android.support:multidex:1.0.1'
}
public class MyApplication extends Application {
@Override
protected void OnCreate(Context base) {
MultiDex.install(this);
}
}
【问题讨论】:
标签: android