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"
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>
相关文章推荐
- android studio 运行出现“The activity must be exported or contain an intent-filter”
- Error running second Activity: The activity must be exported or contain an intent-filter
- BUG:android The activity must be exported or contain an intent-filter
- androidbug之Error running CaptureActivity: The activity must be exported or contain an intent-filter
- 四大组件出现:android The activity must be exported or contain an intent-filter
- The activity must be exported or contain an intent-filter解决方法
- Android Build with Gradle and ProGuard : “The output jar must be specified after an input jar, or it
- Unable to determine the principal end of an association between the types '***. The principal end of this association must be explicitly configured using either the relationship fluent API or data annotations.
- When using SqlDependency without providing an options value, SqlDependency.Start() must be called prior to execution of a command added to the SqlDependency instance.
- AndroidStudio3.0 注解报错Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor.
- 关于错误 The type or namespace name `Vuforia' could not be found. Are you missing an assembly reference?
- A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: /usr/local/eclipse/
- Android开发 -- setTag的妙用和The key must be an application-specific resource id 异常
- View.setTag(key,object)异常:The key must be an application-specific resource id.
- 异常:Error: Aesthetics must either be length one, or the same length as the dataProblems:AData
- Error reading manifest file manifest.yml must be owned by the beat user (uid=0) or root
- TypeError: view must be a callable or a list/tuple in the case of include().
- Pymongo: TypeError: if no direction is specified, key_or_list must be an instance of list
- The type OneInterface cannot be a superinterface of OneInterfaceImpl; a superinterface must be an in
- The table name must be enclosed in double quotation marks or sqare bracket while accessing EXCEL by