Ive just installed android studio 1.0 RC2 in a windows 8.1 64bits, but when i try to create a new project it says Error:Could not run build action using Gradle installation 'C:\Program Files\Android\Android Studio1\gradle\gradle-2.2.1'., please help me solve this proplem, im really stuck in this
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
Try this:
1) File -> Invalidate caches / Restart
2) Shutdown Android Studio
3) Remove .gradle folder in the user home directory
4) Restart Android Studio let it download all the Gradle stuff it needs
5) Gradle build success !
6) Rebuild project.... success !
We have two famous way for this problem:
1- update the gradle:
step 1:
Get latest version supported by Android Studio from:
https://services.gradle.org/distributions
step 2:
Extract the gradle file and install to dists folder(gradle folder): default location is: C:\Users[username]\gradle\wrapper\dists
step 3:
Open Android Studio: File/Settings/Gradle/Service directory path: (Change to folder you set above) and Click ok.
Status on bottom should indicate it's busy & error should be fixed.
step 4:
restart Android Studio
2- Delete the .gradle folder:
default location is:
C:\Users[username]\gradle\wrapper\dists
after that open Android Studio and make a new project (might need to reastart).