If you are trying to deploy to an Android device with the new Oracle ADF Mobile 11.1.2.4 release there is a good chance that you'll run into a situation where your deployment will fail with the message -
Failed to locate the Google Cloud Messaging for Android Library file named "gcm.jar"
I'm very sorry but nowadays it does not work since Google cloud messaging for android library is reported as deprecated by Android SDK
I recently had this issue and also could not install the GCM library from the Android SDK manager (Android 4.4 API 19). As per a previous comment, I resolved as follows:
1) Downloaded gcm_r03.zip from link: https://dl-ssl.google.com/android/repository/gcm_r03.zip
2) Created a folder titled “google” in Android SDK ”extras” folder, i.e., “…./sdk/extras/google"
3) Extracted gcm_r03 files to new “google” folder
4) Renamed extracted gcm_R03 folder to gcm, i.e., “…/sdk/extras/google/gcm
This new folder will contain the following three folders: gcm-client, gcm-server, and samples. Everything worked after that.