GCM.jar android studio

前端 未结 1 1838
悲&欢浪女
悲&欢浪女 2021-01-24 06:17

Now I am getting this error

    Could not find gcm.jar. Please install the Android SDK Extra : 
    \'Google Cloud Messaging for Android Library\' using the Andr         


        
相关标签:
1条回答
  • 2021-01-24 06:46

    Start SDK Manager and scroll down to the section "Extras" and make sure you have installed Google Cloud Messaging for Android Library, if not, install the package.

    The package will be installed in the directory "your_android_sdk\extras\google\gcm\"

    Client code (for example to be used in Android app): "gem\gcm-client\dist"

    To add the gcm client-jar (gcm.jar) to your Android-project, copy it to the "libs" folder in your Android-studio project and right click on the file and select Build Path --> Add to Build Path

    0 讨论(0)
提交回复
热议问题