java.lang.NoClassDefFoundError的:com.google.android.gcm.GCMRegistrar [英] java.lang.NoClassDefFoundError: com.google.android.gcm.GCMRegistrar

查看:221
本文介绍了java.lang.NoClassDefFoundError的:com.google.android.gcm.GCMRegistrar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程序有GCM。在Android SDK工具的更新后,我的应用程序崩溃。我会得到这个错误:

I had GCM in my App. After an update of the Android SDK Tools my App crashed. I'll get this error:

E/AndroidRuntime(24175): java.lang.NoClassDefFoundError: com.google.android.gcm.GCMRegistrar

我搜索了修正,我认为继续等;

I searched for fixes, I proceed thinks like;


  • 导入.jar文件手动

  • 添加的.jar到构建路径


谁有这样做的解决?
谢谢!

Who has the fix for this? Thanks!

推荐答案

我刚刚解决了这个问题,我的应用程序。

I've just solved the problem with my app.

请按照下面的步骤来解决此问题:

Follow below steps to resolve the problem:


  1. 右键单击项目 - >构建路径=> 配置构建路径,然后订单和出口

  2. 现在,检查了Android私家藏书复选框。

  3. 刷新,清洁,Run..here你去!

这篇关于java.lang.NoClassDefFoundError的:com.google.android.gcm.GCMRegistrar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆