报错信息:  

Error:(1, 1) A problem occurred evaluating project ':MemberSDK'.

> Failed to apply plugin [id 'com.android.library']

   > Minimum supported Gradle version is 2.14.1.  Current version is 2.4. If using the gradle wrapper, try editing the distributionUrl in /Users/wanglianghe/whaley/heliosAndMoreTvCode/restructureProject/MemberSDKProject/gradle/wrapper/gradle-wrapper.properties to gradle-2.14.1-all.zip

 

修改方案:

  每个项目都有关于gradle的配置项目录,目录结构:你的项目\gradle\wrapper\gradle-wrapper.properties,然后将gradle-wrapper.properties文件distributionUrl的值改成对应的gradle版本即可。

  比如:distributionUrl= https://services.gradle.org/distributions/gradle-3.0-all.zip

  

 

相关文章:

  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-08-22
  • 2021-08-29
  • 2021-06-18
  • 2022-12-23
  • 2021-10-29
猜你喜欢
  • 2022-12-23
  • 2021-08-17
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2022-01-23
相关资源
相似解决方案