Cordova build changes distributionUrl in gradle-wrapper.properties file

后端 未结 8 1226
小鲜肉
小鲜肉 2020-12-05 06:30

I keep getting the following build exception when I run

 cordova run android --verbose
  • What went wrong: A problem occurred evaluatin
8条回答
  •  感情败类
    2020-12-05 07:02

    Try just open the file project/platforms/android/build.gradle and update

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

    and

    task wrapper(type: Wrapper) {
            gradleVersion = 'X.X'
    }

    see the reference here https://developer.android.com/studio/releases/gradle-plugin.html#updating-gradle

    to change the X.X

提交回复
热议问题