Android Studio - Failed to notify project evaluation listener error

前端 未结 30 1866
悲&欢浪女
悲&欢浪女 2020-12-13 11:45

Following is the build.gradle code in Android Studio

apply plugin: \'com.android.application\'

android {
    compileSdkVersion 23
    buildToolsVersion \"23         


        
30条回答
  •  Happy的楠姐
    2020-12-13 12:24

    I got this problem too. I fix it by Change build.gradle in project

    Change

    dependencies {
            classpath 'com.android.tools.build:gradle:2.3.3'
    }
    

    And also I change the distributionUrl in gradle-wrapper.properties(Global Version)

    distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-milestone-1-all.zip
    

    And got succeed.FYI.

提交回复
热议问题