android studio 3.0 error: style attribute '@android:attr/windowEnterAnimation' not found

后端 未结 4 1965
遇见更好的自我
遇见更好的自我 2020-12-09 16:59

I had followed steps of migrating to android studio 3.0 updgradation.

build.gradle

    flavorDimensions \'dimensionless\'
4条回答
  •  离开以前
    2020-12-09 17:30

    Try to use the subprojects{} block in android/build.gradle and set the recent android compileSdkVersion and buildToolsVersion used in the main project so that the subprojects use these versions too.

    Example

    subprojects {
        afterEvaluate {project ->
            if (project.hasProperty("android")) {
                android {
                    compileSdkVersion 27
                    buildToolsVersion "27.0.3"
                }
            }
        } }
    

提交回复
热议问题