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

error when building apk #78

Open
noelitc opened this issue Feb 23, 2023 · 1 comment
Open

error when building apk #78

noelitc opened this issue Feb 23, 2023 · 1 comment

Comments

@noelitc
Copy link

noelitc commented Feb 23, 2023

Hi,
I get this error when building the apk for the example. Can anyone help?
Task :app:processDebugAndroidTestManifest FAILED
[androidx.test.espresso:espresso-core:3.1.0] C:\Users\noelo.gradle\caches\transforms-3\2e0353c51a204fb94062e33fcea52121\transformed\espresso-core-3.1.0\AndroidManifest.xml Warning:
Namespace 'androidx.test.espresso' used in: androidx.test.espresso:espresso-core:3.1.0, androidx.test.espresso:espresso-idling-resource:3.1.0.
C:\Users\noelo\Downloads\uaal-example-master\uaal-example-master\NativeAndroidApp\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest16500711821941315842.xml:27:9-33:20 Error:
android:exported needs to be explicitly specified for element <activity#androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity>. 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.
C:\Users\noelo\Downloads\uaal-example-master\uaal-example-master\NativeAndroidApp\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest16500711821941315842.xml:34:9-40:20 Error:
android:exported needs to be explicitly specified for element <activity#androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity>. 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.
C:\Users\noelo\Downloads\uaal-example-master\uaal-example-master\NativeAndroidApp\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest16500711821941315842.xml:41:9-47:20 Error:
android:exported needs to be explicitly specified for element <activity#androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity>. 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.

@noelitc
Copy link
Author

noelitc commented Feb 23, 2023

I am using latest Unity Editor latest android studio

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