ActivityNotFoundException在我的Andr​​oidManifest.xml中声明的活动 [英] ActivityNotFoundException for an activity declared in my AndroidManifest.xml

查看:94
本文介绍了ActivityNotFoundException在我的Andr​​oidManifest.xml中声明的活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个推出Android应用程序正常工作的大部分时间。然而1约1000+的运行,我碰到一个android.content.ActivityNotFoundException:无法找到明确的活动类的异常。该活动在我的清单中声明,我从来没有见过它崩溃自己。它是这样的声明...

I have a launched android application that works fine most of the time. However 1 in about 1000+ runs I get an android.content.ActivityNotFoundException: Unable to find explicit activity class exception. The activity is declared in my manifest and I've never seen it crash myself. It is declared like this...

<activity android:name="com.myCompany.myPackage.MyDialog"
   android:theme="@android:style/Theme.Dialog">
</activity> 

的崩溃报告显示它所有操作系统的失败从1.5到2.1。

The crash reports show it failing on all OS's from 1.5 to 2.1.

任何帮助将是很大的AP preciated。

Any help would be greatly appreciated.

加里 -

推荐答案

这是android.content.ActivityNotFoundException

an android.content.ActivityNotFoundException

要确保你的&LT;活性里面的&lt;应用节点=)

be sure your <activity is inside your <application node =)

这篇关于ActivityNotFoundException在我的Andr​​oidManifest.xml中声明的活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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