Problem when create Android project in IntelliJ IDEA
-
Hello everyone.
I’ve decided to program Android in IntelliJ IDEA 2018.3 using Kotlin.
When I determine the SDK path and create the Android project, I face the “MyProject sync faild” message. Furthermore I am using JDK 8.
The errors shown to me are:Could not find com.android.tools.build:gradle:3.1.0.
Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.jar
https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.jar
Required by:
project :
Add Google Maven repository and sync project
Open FilePlease help me.
Thank you. -
Hello everyone.
I’ve decided to program Android in IntelliJ IDEA 2018.3 using Kotlin.
When I determine the SDK path and create the Android project, I face the “MyProject sync faild” message. Furthermore I am using JDK 8.
The errors shown to me are:Could not find com.android.tools.build:gradle:3.1.0.
Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.jar
https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.jar
Required by:
project :
Add Google Maven repository and sync project
Open FilePlease help me.
Thank you.Just proceed with intellij suggestion to "Add google maven repository" via popup shown at right bottom or add these to your project root build.gradle file.Located at ../project_root/build.gradle.
repositories
{
google()
jcenter()
maven { url "https://jitpack.io" }
} -
Just proceed with intellij suggestion to "Add google maven repository" via popup shown at right bottom or add these to your project root build.gradle file.Located at ../project_root/build.gradle.
repositories
{
google()
jcenter()
maven { url "https://jitpack.io" }
}Thank you, but it doesn't work.
-
Thank you, but it doesn't work.
-
thank you. solved.
-
thank you. solved.