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
315 stars 143 forks source link

Could not find io.michaelrocks:libphonenumber-android:8.12.5. #112

Open mona-baharlou opened 3 years ago

mona-baharlou commented 3 years ago

I get this error

Could not find io.michaelrocks:libphonenumber-android:8.12.5. Required by: project :app > com.github.joielechong:countrycodepicker:2.4.2

how can I solve this?

emamagic commented 2 years ago

hi I had the same problem, what I just did to solve that bug clone the project and go build.gradle file, and change the io.michaelrocks:libphonenumber-android: library version from 8.12.5 to 8.12.44 that was work for me

PalankiBharat commented 2 years ago

hi I had the same problem, what I just did to solve that bug clone the project and go build.gradle file, and change the io.michaelrocks:libphonenumber-android: library version from 8.12.5 to 8.12.44 that was work for me

How to clone and use that can you pls tell the steps

oddlyspaced commented 1 year ago

In order to use this library ensure that you have these 2 dependencies in your build.gradle :

implementation 'io.michaelrocks:libphonenumber-android:8.12.44'
implementation 'com.github.joielechong:countrycodepicker:2.4.2'
OyuClub commented 1 year ago

add jcenter() in settings.gradle