必须导出活动或包含intent-filter [英] The activity must be exported or contain an intent-filter

查看:1018
本文介绍了必须导出活动或包含intent-filter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试运行我的应用程序时,它显示以下错误

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

如何解决此错误?

推荐答案

我从 MainActivity 选择运行/调试配置 c>到 App ,它开始工作了。选择应用配置快照:

I changed the Select Run/Debug Configuration from my MainActivity to App and it started working. Select App configuration snapshot:

这篇关于必须导出活动或包含intent-filter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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