Large number of errors during Gradle build after upgrading to Android Studio 2.0

前端 未结 7 1444
青春惊慌失措
青春惊慌失措 2020-12-07 20:55

Recently, I upgraded Android Studio from version 1.5 to 2.0 but since then I observe that the number of errors and warnings has increased. Most of the errors do not make sen

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-07 21:05

    Have you tried to clear the project and rebuild ? In the build.gradle file what version on gradle do you have ?

    buildscript {
        repositories {
            jcenter()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:2.0.0'
    
            // NOTE: Do not place your application dependencies here; they belong
            // in the individual module build.gradle files
        }
    }
    

提交回复
热议问题