mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
fix: 减少依赖
This commit is contained in:
parent
cf354a8c02
commit
52aec935da
@ -31,10 +31,6 @@ android {
|
||||
buildFeatures {
|
||||
viewBinding true
|
||||
}
|
||||
|
||||
dexOptions {
|
||||
javaMaxHeapSize "4g"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@ -51,12 +47,4 @@ dependencies {
|
||||
|
||||
// hutool
|
||||
implementation 'cn.hutool:hutool-all:5.8.8'
|
||||
|
||||
// 解决 dex文件数超过64k问题
|
||||
implementation 'com.android.support:multidex:1.0.1'
|
||||
|
||||
// 测试类资源
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||||
}
|
@ -2,7 +2,6 @@ package cc.niushuai.project.devcontrol;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.support.multidex.MultiDex;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
import androidx.navigation.NavController;
|
||||
@ -69,10 +68,4 @@ public class MainActivity extends AppCompatActivity {
|
||||
// 底部栏显示
|
||||
NavigationUI.setupWithNavController(activityMainBinding.bottomNavView, navController);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void attachBaseContext(Context newBase) {
|
||||
super.attachBaseContext(newBase);
|
||||
MultiDex.install(this);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user