设置targetSdkVersion 29足以将应用迁移到Android 10吗?

时间:2019-12-26 10:46:53

标签: android android-10.0

现在我想将我的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 {

    ...

    }

0 个答案:

没有答案