Open robertoaltieri opened 1 year ago
Ok I'll have a look asap @robertoaltieri, thanks for the heads up
I deleted the ~/.gradle folder and now I get a different error. To avoid issue with my environment I have forked your repo and added an action to run the tests. Now I get on the CI the same error that I get locally:
* What went wrong:
java.lang.StackOverflowError (no error message)
I see many errors like these ones:
prieto.fernando.spacex.presentation.screens.MainScreenKtTest > appNavigatesToLaunchesTabWhenSelected[test(AVD) - 13] FAILED
android.content.ActivityNotFoundException: Unable to find explicit activity class {prieto.fernando.spacex.test/androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity}; have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared <intent-filter>?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2197)
prieto.fernando.spacex.presentation.screens.MainScreenKtTest > app_loads_dashboard_by_default[test(AVD) - 13] FAILED
android.content.ActivityNotFoundException: Unable to find explicit activity class {prieto.fernando.spacex.test/androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity}; have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared <intent-filter>?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2197)
prieto.fernando.spacex.presentation.screens.MainScreenKtTest > bottom_tabs_displayed[test(AVD) - 13] FAILED
android.content.ActivityNotFoundException: Unable to find explicit activity class {prieto.fernando.spacex.test/androidx.test.core.app.InstrumentationActivityInvoker$BootstrapActivity}; have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared <intent-filter>?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2197)
If you want I can make a PR to show it to you
BTW if I run it in Android studio I get an error because the test is trying to set the content again after the activity has already done it
This might be an issue with my environment. I have checked out the latest version of master
0cc02b3
. When I run:I get:
When I run:
./gradlew connectedAndroidTest
I get the error:
If I try to run them from Android Studio, I get a different error