joielechong / CountryCodePicker

Country Code Picker (CCP) is an android library which provides an easy way to search and select country phone code ( national code ) for the telephone number.
Apache License 2.0
317 stars 144 forks source link

Could not resolve com.github.joielechong:countrycodepicker:2.1.8 #31

Closed Onesimuscc8 closed 6 years ago

Onesimuscc8 commented 6 years ago

Hi.. Please Help me, My Project could not resolve this. Why?

allprojects { repositories { google() jcenter() maven { url "https:/jitpack.io"}

}

}

joielechong commented 6 years ago

There is probably something error with your build.gradle configuration. Have you set something like the following in your project build.gradle?:

buildscript {
  repositories {
    jcenter()
    maven {
      url 'https://maven.google.com/'
      name 'Google'
    }
  }
  dependencies {
    classpath 'com.android.tools.build:gradle:3.1.1'
    classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
  }
}

allprojects {
  repositories {
    jcenter()
    maven { url "https://jitpack.io" }
    maven { url "https://maven.google.com" }
    maven {
      url 'https://maven.google.com/'
      name 'Google'
    }
  }
}
joielechong commented 6 years ago

I'll close this issue for know waiting for the feedback. Please reopen again if the problem still persisted.