简体   繁体   English

即使添加播放服务,Google ADView类也未发现异常

[英]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. 最近我将我的android sdk工具更新为23.2之后,在运行google ad demo project时出现继续类未发现异常。当我单击导入链接时,我能够打开ADView的类文件,但仍然不知道发生了什么错误。 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文件夹移动到其他文件夹并导入到工作区中来解决此问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 找不到与给定名称匹配的资源(位于“ layout_above”,值为“ @ id / adView”)。 即使在AdView具有该ID之后 - No resource found that matches the given name (at 'layout_above' with value '@id/adView'). even after AdView have that id 添加库项目后找不到类的类 - Class not found exception after adding library project 我在Android应用程序中添加了admob广告,但类com.google.ads.AdView出现异常 - I am adding admob ads in my android application but having exception inflating class com.google.ads.AdView 即使添加android:debuggable =“ false”,Google Play上的上传失败 - Upload fails on google play even after adding android:debuggable=“false” 从Google Play下载时找不到应用程序类异常 - Application class not found Exception when download from Google Play 在将Google Play服务位置添加为依赖关系后找不到资源标识符 - Resource Identifiers not found after adding Google Play Services Locations as Dependency 未找到Google Play服务资源 - Google play service resource not found Android无法实例化以下类:-com.google.android.gms.ads.AdView(打开类,显示异常) - Android The following classes could not be instantiated: - com.google.android.gms.ads.AdView (Open Class, Show Exception) 类强制转换异常按钮不能强制转换为Adview - Class Cast exception Button cannot be casted to Adview Google admob错误夸大了com.google.ads.adview类,并引用了Google Play服务库项目中的内容 - Google admob error inflating class com.google.ads.adview with reference from Google Play services library project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM