Blankj / Blankj/AndroidUtilCode
Android sdk 32 debug打包失败
- Dominant language
- Java
- Stars
- 33.6k
- Forks
- 10.6k
- PR merge metrics
- No merged PRs in 30d
Description
## 描述 Bug
使用目标target_sdk=32 进行debug打包报错 Task :app:processDebugAndroidTestManifest FAILED
编译报错如下
```
android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
```
- AndroidUtilCode 的版本:com.blankj:utilcodex:1.31.1
原因是
[AndroidManifest](https://github.com/Blankj/AndroidUtilCode/tree/master/lib/utilcode/src/main/AndroidManifest.xml)
这个文件内的两个Activity没有设置 android:exported="true"
目前情况是debug打包失败 releas打包正常
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.