在启动时添加以下代码:
FixTools().fixAndroid14DebuggableLag()
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.BzCoder:FixAndroid14DebuggableLag:1.0.0'
}