Error:Could not run build action using Gradle installation解决办法
来源:互联网 发布:java 对url encode 编辑:程序博客网 时间:2024/06/12 13:46
误内容:
Error:Could not run build action using Gradle installation ‘D:\AndroidStudio\AS2.x\gradle\gradle-3.3’.
解决方案:
方式一:文件夹下手动清理
找到存储本地的gradle全局配置文件 .gradle文件夹,一般在C盘用户目录下,将里面的缓存文件清空,重启AS就OK了。(一般不建议使用这种方式,知道有这种方式就行,如果不清楚该文件下文件配置的新手,很容易删错文件)
方式二:利用AndroidStudio内置的清理工具清理
具体步骤如下:
1) File -> Invalidate caches / Restart
2)Invalidate and Restart
点击后会自动清理并且重启studio。
注意:一定要保持gradle-wrapper.properties下distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip和本地gradle版本一致。
阅读全文
0 0
- Error:Could not run build action using Gradle installation解决办法
- Error:Could not run build action using Gradle installation
- idea 或 Android Studio 报错 Error:Could not run build action using Gradle installation
- MyEclipse中创建Gradle项目报错: Could not run build action using Gradle installation
- Android Studio bug:Error:Could not run build action using Gradle distribution 'https://services.grad
- include c ++ 报错 Could not run build action using Gradle distribution 'https://services....'
- android studio报错:Could not execute build using Gradle installation
- Error:Could not download artifact 'com.android.tools.build:gradle:0.13.2:gradle.jar
- could not execute menu item (inter error) could not execute run action 系统找不到指定的文件
- Android Studio Error:Could not find com.android.tools.build:gradle
- Android Studio “Error:Could not find com.android.tools.build:gradle:2.14.1”的解决方法
- Windows cordova build Error: Could not find gradle wrapper within Android SDK. Might need to update
- Error:Could not find com.android.tools.build:gradle:2.3.3.
- Android Studio:Error:Could not find com.android.tools.build:gradle:XXX解决方法
- Error:Could not find com.android.tools.build:gradle:2.2.2.
- Error:Could not get unknown property ‘apkVariantData’ for object of type com.android.build.gradle.in
- 【AndroidStudio】Error:Could not find com.android.tools.build:gradle:2.3.3
- ionic build android (或cordova build android)报错:Error: Could not find an installed version of Gradle
- hdu 5685 Problem A (逆元)
- 如何禁止极速版迅雷thunderplatform.exe启动
- 登录注册那些事儿(二)
- 六数码 关于EOF
- 顺序表
- Error:Could not run build action using Gradle installation解决办法
- Online Hard Example Mining
- 1-3 beanstalkd参数
- vue2.x 中如何获取 DOM
- Leetcode 368 Largest Divisible Subset
- 链表
- SSIS DSN contains an architecture mismatch between the Driver and Application
- 利用nodejs制作爬虫获取数据的案例
- LayoutInflater源码最简解读 带你轻松领略源代码之美