Unity-Technologies / uaal-example

Other
733 stars 233 forks source link

error when building apk #78

Open noelitc opened 1 year ago

noelitc commented 1 year ago

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 commented 1 year ago

I am using latest Unity Editor latest android studio