How to Solve Error “Could not find com.android.tools.build:gradle:3.0.1”

Here is a simple tutorial on how to solve error: “Could not find com.android.tools.build:gradle:3.0.1”

Solution

According to the log, add the google() repository to the build.gradle file in the app directory as shown below:

allprojects {
repositories {
google()
jcenter()
}
}

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *