Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. Problem when create Android project in IntelliJ IDEA

Problem when create Android project in IntelliJ IDEA

Scheduled Pinned Locked Moved Android
androidjavahelpcomtools
6 Posts 2 Posters 15 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pouria Polouk
    wrote on last edited by
    #1

    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 File

    Please help me.
    Thank you.

    K 1 Reply Last reply
    0
    • P Pouria Polouk

      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 File

      Please help me.
      Thank you.

      K Offline
      K Offline
      karthi72
      wrote on last edited by
      #2

      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" }
      }

      P 1 Reply Last reply
      0
      • K karthi72

        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" }
        }

        P Offline
        P Offline
        Pouria Polouk
        wrote on last edited by
        #3

        Thank you, but it doesn't work.

        K 1 Reply Last reply
        0
        • P Pouria Polouk

          Thank you, but it doesn't work.

          K Offline
          K Offline
          karthi72
          wrote on last edited by
          #4

          can you post a link of that error as screenshot here.

          P 1 Reply Last reply
          0
          • K karthi72

            can you post a link of that error as screenshot here.

            P Offline
            P Offline
            Pouria Polouk
            wrote on last edited by
            #5

            thank you. solved.

            K 1 Reply Last reply
            0
            • P Pouria Polouk

              thank you. solved.

              K Offline
              K Offline
              karthi72
              wrote on last edited by
              #6

              Super awesome

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups