android { compileSdkVersion 30 defaultConfig { applicationId "com.example.myapp" minSdkVersion 19 targetSdkVersion 30 multiDexEnabled true } } dependencies { implementation 'androidx.multidex:multidex:2.0.1' } public class MyApp extends MultiDexApplication { } @Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); MultiDex.install(this); }


上一篇:
下一篇:
切换中文