-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Home
To add libphonenumber 7.6.0 to your Android Studio Project, add these to your project build.gradle file:
- Enable Maven Repository in your project if it has not been done yet:
repositories {
mavenCentral()
}
- Add this line to your Gradle File to compile the dependencies:
compile group: 'com.google.protobuf.nano', name: 'protobuf-javanano', version: '3.0.0-alpha-7'
Your Gradle file should look similar to this:
...
}
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
applicationId "your_package_name"
minSdkVersion 15
targetSdkVersion 22
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.PAKAGE_NAME
}
}
productFlavors {
`}`
}
repositories {
mavenCentral()
}
dependencies {
...
compile group: 'com.google.protobuf.nano', name: 'protobuf-javanano', version: '3.0.0-alpha-7'
...
}
I would like to suggest this feature:
https://stackoverflow.com/questions/51962913/get-all-state-phone-code-in-a-country