GCM : java.lang.noclassdeffounderror: com.google.android.gcm.GCMRegistrar

前端 未结 10 1032
深忆病人
深忆病人 2020-12-29 06:50

I am trying to register a device onto GCM using the following code:

    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceSta         


        
10条回答
  •  北海茫月
    2020-12-29 07:19

    In the updated ADT(Above ADT 17) you have to put jar files inside libs folder and not lib. So make sure that you put gcm.jar file inside libs and not lib folder.

提交回复
热议问题