无活动处理的意图(导致FC) [英] No Activity found to handle intent (causes FC)
问题描述
我已经阅读了近有关错误的堆栈跟踪的未找到处理的意图活动每一个职位,但我一直在努力用很大寻找解决办法。下面是从logcat的输出:
I have read nearly every single post about the "activity not found to handle intent" error in the stacktrace, but I have been struggling greatly with finding a solution. Here is the output from the logcat:
03-26 00:17:54.617: E/AndroidRuntime(803): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.SenseiMods.Wallpapers.Gallery }
下面是我的清单文件:
Here is my manifest file:
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Gallery"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.SenseiMods.Wallpapers.GALLERY" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
我的类名为画廊。这就是为什么我用这个名字的说法。我敢肯定,这是简单的东西。感谢您的帮助,你可以给。
My class is named Gallery. Which is why I called it by that name. I'm sure it's something simple. Thank you for any help you can give.
推荐答案
这很简单:在你的清单
文件动作的名称属性是画廊
所有大写字母
it is simple : the action name attribute in your manifest
file is GALLERY
all capital letters
和看来,你在你的java code设定动作 com.SenseiMods.Wallpapers.Gallery
and it seems that you set the action to com.SenseiMods.Wallpapers.Gallery
in your java code
这样的变化图库
到画廊
这篇关于无活动处理的意图(导致FC)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!