androidbug之Error running CaptureActivity: The activity must be exported or contain an intent-filter
来源:互联网 发布:数据分析师面试 编辑:程序博客网 时间:2024/05/23 16:54
使用环境:
在跳转页面开始扫描二维码的时候遇到的这个问题,之前是没有什么问题,但是改bug改着就出现了这个问题,
在android左下角的地方报错,Error running CaptureActivity: The activity must be exported or contain an intent-filter
项目怎么启动都启动不起来
解决方法,加了一行代码在清单文件中
具体位置就是那个activity报错找那个在清单文件中声明的那一行:
<activity android:name="com.xys.libzxing.zxing.activity.CaptureActivity" android:exported="true"/><!--二维码-->
android:exported="true"//就是这一样代码
在运行就OK了。
有什么问题请联系我
QQ:532245792
phone:18437707558
建涛随时恭候来电
0 0
- androidbug之Error running CaptureActivity: The activity must be exported or contain an intent-filter
- Android Studio 3 Error Message:The activity must be exported or contain an intent-filter
- BUG:android The activity must be exported or contain an intent-filter
- The activity must be exported or contain an intent-filter解决方法
- android studio 运行出现“The activity must be exported or contain an intent-filter”
- Why the “MAVEN2_CLASSPATH_CONTAINER will not be exported or published”
- 笔记:requires the provider be exported, or grantUriPermission()
- error -5008: intel64 or amd64 must be specified in the template of the summary
- 【Android】- Error:The<activity>element must be a direct child of the <application> element[WrongMani]
- iOS之报错The app's Info.plist must contain an xxx key with a string value explaining
- ERROR Error: If ngModel is used within a form tag, either the name attribute must be set or the form
- A ref or out argument must be an assignable variable
- Android Build with Gradle and ProGuard : “The output jar must be specified after an input jar, or it
- “Internal Build Error” or “Classes Must Not Be Nested” error
- This could be an internal error in the database, the database client or in the SAP kernel.
- The value of attribute "description" associated with an element type "target" must not contain the '<' character.
- The value of attribute "title" associated with an element type "question" must not contain the '<' c
- Error reading manifest file manifest.yml must be owned by the beat user (uid=0) or root
- 实验:C++实验5—数组分离
- TensorFlow学习笔记8----TensorFlow Linear Model Tutorial
- deque,vector,list
- 简单的计算器
- CentOS6出现倒计时后不再继续启动
- androidbug之Error running CaptureActivity: The activity must be exported or contain an intent-filter
- 闭包函数到底是什么?有什么用?
- PHP函数待续
- 全面认识.NET框架
- zoj 1610 Count the Colors
- 【Python专题】函数式编程
- 使用JSTL多余的字符......显示
- Android Handler机制
- sublime 插件