简体   繁体   中英

Google ADView class not found exception even after adding play service

Recently i updated my android sdk tool to 23.2 after that am getting continues class not found exception while running google ad demo project.I can able to open the class file of ADView when i click on the import link ,still don't know what went wrong. Any help would be greatly appreciated

07-15 10:55:52.051: E/AndroidRuntime(5126): java.lang.NoClassDefFoundError: com.google.android.gms.ads.AdView
07-15 10:55:52.051: E/AndroidRuntime(5126):     at com.google.example.gms.ads.banner.BannerSample.onCreate(BannerSample.java:28)
07-15 10:55:52.051: E/AndroidRuntime(5126):     at android.app.Activity.performCreate(Activity.java:5133)

通过将播放服务库从sdk文件夹移动到其他文件夹并导入到工作区中来解决此问题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM