安卓:NoClassDefFoundError的android.os.AsyncTask [英] Android: NoClassDefFoundError android.os.AsyncTask

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

问题描述

由于几个星期,我看到我的应用程序越来越多的崩溃,并显示以下异常

Since a couple of weeks, I'm seeing more and more crashes of my app with the following exception

致命异常:java.lang.NoClassDefFoundError的 android.os.AsyncTask

Fatal Exception: java.lang.NoClassDefFoundError android.os.AsyncTask

这code已经运行了一个月,没有任何问题,现在看来对某些设备(75%的Andr​​oid 2.3.x和25%的Andr​​oid 4.0.3)失败 当我创建延伸的AsyncTask一类的新实例,它会失败。

This code has run for month without any issue, and it seems now to fail on some devices (75% android 2.3.x and 25% android 4.0.3) It fails when I create a new instance of a class which extends AsyncTask.

我从UI线程创建这个类。

I create this class from the UI thread.

怎么会是类中没有发现,因为它是在SDK中定义的?

How can that class be not found as it's defined within the SDK ?

推荐答案

它看起来像另一个谷歌播放服务的错误...

It looks like yet another Google Play Services bug...

https://groups.google.com/论坛/#!话题/谷歌AdMob的,广告-SDK / _x12qmjWI7M

编辑:由谷歌员工=> 证实https://groups.google.com/d/msg/google-admob-ads-sdk/_x12qmjWI7M/9ZQs-v0ZZTMJ

confirmed by Google staff => https://groups.google.com/d/msg/google-admob-ads-sdk/_x12qmjWI7M/9ZQs-v0ZZTMJ

这篇关于安卓:NoClassDefFoundError的android.os.AsyncTask的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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