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
I'm facing this issue while compiling the project and trying to run the test.
I didn't do any modification. Just open the project and run.
The log is this:
> Task :app:processDebugAndroidTestManifest FAILED
/Users/jesusdmedinac/software/android/android-compose-codelabs/TestingCodelab/app/build/intermediates/tmp/manifest/androidTest/debug/tempFile1ProcessTestManifest6578991288352733637.xml Error:
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. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
/Users/jesusdmedinac/software/android/android-compose-codelabs/TestingCodelab/app/build/intermediates/tmp/manifest/androidTest/debug/tempFile1ProcessTestManifest6578991288352733637.xml Error:
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. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
/Users/jesusdmedinac/software/android/android-compose-codelabs/TestingCodelab/app/build/intermediates/tmp/manifest/androidTest/debug/tempFile1ProcessTestManifest6578991288352733637.xml Error:
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. 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.
Execution failed for task ':app:processDebugAndroidTestManifest'.
> Manifest merger failed with multiple errors, see logs
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
I'm trying to run the test on the class AnimatingCircleTests on the TestingCodelab app.
Any suggestion about how to solve this issue?
The text was updated successfully, but these errors were encountered:
@JesusDMedinaC-Bitso
After that, I added androidTestImplementation "androidx.test.ext:junit:1.1.3" as described in this post, and now I can run TestingCodeLab tests.
I'm having the same problem with the Navigation Codelab tests, but the same method may solve it.
I'm facing this issue while compiling the project and trying to run the test.
I didn't do any modification. Just open the project and run.
The log is this:
I'm trying to run the test on the class
AnimatingCircleTests
on theTestingCodelab
app.Any suggestion about how to solve this issue?
The text was updated successfully, but these errors were encountered: