【发布时间】:2012-03-26 00:35:12
【问题描述】:
我已经阅读了几乎所有关于堆栈跟踪中“未找到处理意图的活动”错误的帖子,但我一直在努力寻找解决方案。以下是 logcat 的输出:
03-26 00:17:54.617: E/AndroidRuntime(803): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.SenseiMods.Wallpapers.Gallery }
这是我的清单文件:
<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>
我的班级名为 Gallery。这就是为什么我用这个名字来称呼它。我确定这很简单。感谢您提供的任何帮助。
【问题讨论】:
-
创建意图的代码在哪里?
标签: android eclipse android-activity android-logcat