Import com.google.i18n.phonenumbers.geocoding.PhoneNumberOfflineGeocoder class not found

Something dumb is probably missing, I guess I need to add some code. But I added the following project jar file to my project. The user enters a phone number and I can get the phone country code, but I want to get the country name as well as the two letter country code.

PhoneNumberOfflineGeocoder has to do it with this getCountryNameForNumber method (phone number, locale language). But I cannot figure out how to import this class correctly.

+3


source to share


2 answers


You need to add another jar from here . PhoneNumberOfflineGeocoder is not in libphonenumber-7.0.jar

.



+7


source


Please make sure you mark the order check and export to the bank see in picture



0


source







All Articles