android:exported needs to be explicitly specified for <activity>. 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
解决办法
Update the version of androidTestImplementation 'androidx.test.ext:junit:1.1.1' to the latest version, like:
androidTestImplementation 'androidx.test.ext:junit:1.1.3' from the build.gradle app level.
在一次自动更新后,出现了gradle插件的升级,按照提示升级后,出现了可以直接连手机调试运行,但是打包APK的时候报错:
解决办法