Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译失败,activity的属性上需要添加android:exported #110

Open
1797890817 opened this issue Jul 26, 2022 · 0 comments
Open

编译失败,activity的属性上需要添加android:exported #110

1797890817 opened this issue Jul 26, 2022 · 0 comments

Comments

@1797890817
Copy link

使用Cordova8.1.2没有这个问题,升级cordova到10.0.0后编译失败!

  • 开发环境: MacOS12.5 插件版本:0.9.7, Cordova 版本:10.0.0, ionic版本:6.20.1,Node版本:v14.20.0

项目根目录执行编译命令如下:ionic cordova build android
报错信息如下:
Task :app:processDebugMainManifest FAILED
/Volumes/iData/Tmp/sale-app/platforms/android/app/src/main/AndroidManifest.xml:24:9-31:20 Error:
android:exported needs to be explicitly specified for element <activity#com.tencent.tauth.AuthActivity>. 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.

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

这个问题我知道怎么改插件,但是还是希望官方能更新发布新版,毕竟几年过去了,android很多配置已经变了,谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant