-
Notifications
You must be signed in to change notification settings - Fork 276
gradle problem #5
Comments
I'm getting the same error as saraashour89. Error:Could not find com.android.tools.build:gradle:2.2.0. |
I found the solution on the Udacity forums. But just in case someone else runs into the same problem. You need to change the project level build.gradle file. change the depenencies class path Gradle version to the current version you are running. You should see your current version at the top bar of android studio. Good luck! |
You should Gradle version in your app according to installed version of Gradle in your system |
I think it's a problem with the gradle wrapper? For example, I don't think XYZReader/gradlew should even exist... |
Can someone test this PR? It seems to work for me, but I don't know if that's because I actually fixed the gradle wrapper. |
Hey, guys,
|
Thanks guys,You saved my day |
@saraashour89 If you're having trouble starting the XYZ-Reader project, do the following:
|
I found this message :
Error:Could not find com.android.tools.build:gradle:2.2.0.
Searched in the following locations:
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.pom
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.jar
https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.pom
https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.jar
Required by:
project :XYZReader
what shall i do ??
The text was updated successfully, but these errors were encountered: