You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On iOS everything works fine.
When I build the app on Android I get the following errors under processDevelopmentDebugAndroidTestManifest: task:
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.
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.
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.
What was the expected behaviour?
Android app building should be done successfully.
Was it tested on latest Detox?
I have tested this issue on the latest Detox release and it still reproduces.
Setup last version of Detox on a react native project. You will see the android build will fail.
In what environment did this happen?
Detox version: 20.25.1
React Native version: 0.73.6
Has Fabric (React Native's new rendering system) enabled: yes
Node version: 18.14.1
Device model: All Android emulators like Galaxy Nexus, Pixel Fold
Android version: 10, 12, 13 (Probably on all versions, I tried these 10,12 and 13)
Test-runner (select one): jest
Detox logs
Detox logs
paste logs here!
Device logs
Device logs
paste your device.log here!
More data, please!
No response
The text was updated successfully, but these errors were encountered:
Anahita-Fakhravar
changed the title
Apps targeting Android 12 and higher are required to specify an explicit value
android:exported needs to be explicitly specified
Jul 26, 2024
@Anahita-Fakhravar similar issue i am facing with my test detox build --configuration android.emu.debug didi you find any solution as this is working great with ios
/android/app/build/intermediates/tmp/manifest/androidTest/debug/tempFile1ProcessTestManifest4188112041772864358.xml 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:exportedwhen the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. /Users/sagar/Desktop/Projects/CalculatorApp-Mobile/android/app/build/intermediates/tmp/manifest/androidTest/debug/tempFile1ProcessTestManifest4188112041772864358.xml
What happened?
On iOS everything works fine.
When I build the app on Android I get the following errors under processDevelopmentDebugAndroidTestManifest: task:
What was the expected behaviour?
Android app building should be done successfully.
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
Setup last version of Detox on a react native project. You will see the android build will fail.
In what environment did this happen?
Detox version: 20.25.1
React Native version: 0.73.6
Has Fabric (React Native's new rendering system) enabled: yes
Node version: 18.14.1
Device model: All Android emulators like Galaxy Nexus, Pixel Fold
Android version: 10, 12, 13 (Probably on all versions, I tried these 10,12 and 13)
Test-runner (select one): jest
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: