### Complete Gradle File Example Source: https://github.com/google/libphonenumber/wiki/Android-Studio-setup An example of a complete Gradle file incorporating the libphonenumber dependency and other common configurations. ```gradle ... } 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 'com.googlecode.libphonenumber:libphonenumber:8.2.0' ... } ``` -------------------------------- ### Install Google Cloud SDK on Mac Source: https://github.com/google/libphonenumber/blob/master/java/demo/README.md Installs the Google Cloud SDK using Homebrew on macOS. This is a prerequisite for installing other components. ```bash $ brew install google-cloud-sdk ``` -------------------------------- ### Install Appengine SDK on Linux Source: https://github.com/google/libphonenumber/blob/master/java/demo/README.md Installs the Appengine Java SDK using apt-get on Linux systems. Ensure you have the necessary permissions. ```bash $ sudo apt-get install google-cloud-sdk-app-engine-java ``` -------------------------------- ### Install Built Libraries Source: https://github.com/google/libphonenumber/blob/master/cpp/CMakeLists.txt Configures the installation of the built libraries. It specifies the target libraries to install and their destination directories based on CMake installation variables. ```cmake install ( TARGETS ${BUILT_LIBS} EXPORT "${targets_export_name}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}") ``` -------------------------------- ### Run the Java Demo Server Source: https://github.com/google/libphonenumber/blob/master/run-java-demo.md Start the local development server for the libphonenumber Java demo. This command assumes you are in the 'demo' directory. ```bash cd demo ant runserver ```