您的位置:首页 > 移动开发 > Android开发

Android Studio 3 Error Message:The activity must be exported or contain an intent-filter

2017-10-28 20:53 1076 查看
故障描述:

Android Studio 3 运行Activity显示错误信息:

The activity must be exported or contain an intent-filter

解决办法:

在Mainfests中添加 android:exported="true"

<activity
android:name=".LoginActivity"
android:exported="true"
android:label="@string/title_activity_login"></activity>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐