现在我想将我的Android应用程序迁移到Android 10环境。我已经将targetSdkVersion更改为29。为平稳迁移需要做些什么吗?
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.package"
minSdkVersion 21
targetSdkVersion 29
versionCode 81
versionName "2.2.02"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
...
}
lintOptions {
checkReleaseBuilds false
}
dataBinding {
enabled true
}
repositories {
maven {
url "https://jitpack.io"
}
mavenCentral()
google() }
dependencies {
...
}