本文介绍了活动必须导出或包含意图过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试运行我的应用程序时,它显示以下错误
when I tried to run my application its show the error below
Error running Dashboard: The activity must be exported or contain an intent-filter
我该如何解决这个错误?
How can I solve this error?
推荐答案
我将 Select Run/Debug Configuration
从我的 MainActivity
更改为 App
它开始工作了.选择应用配置快照:
I changed the Select Run/Debug Configuration
from my MainActivity
to App
and it started working. Select App configuration snapshot:
这篇关于活动必须导出或包含意图过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!