NoClassDefFoundError at Google Play Services V2 library

后端 未结 8 1258
無奈伤痛
無奈伤痛 2020-11-28 11:27

I get the following exception when trying to use the Google Play Services V2 library after following the official tutorial.

java.lang.NoClassDefFoundError: c         


        
8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 12:05

    For Android Studio:

    1) Open Module Settings:

    2) Add (Import) module google_play_service_lib from SDK

    Picture

    3) Module google_play_service_lib check as Library

    4) Add library google_play_service.jar from SDK

    5) Finish

    Picture

提交回复
热议问题