1

I'm encountering a problem while running my Android instrumented tests, and after trying multiple solutions, I still haven't been able to resolve it. Here's the error message I'm getting:

[Incubating] Problems report is available at: file:///D:/Desktop/software/Kotlin/NoteApp/build/reports/problems/problems-report.html

Execution failed for task ':app:connectedDebugAndroidTest'.
> There were failing tests. See the report at: file:///D:/Desktop/software/Kotlin/NoteApp/app/build/reports/androidTests/connected/debug/index.html

* 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.
> Get more help at https://help.gradle.org.

BUILD FAILED in 7s
75 actionable tasks: 1 executed, 74 up-to-date

I've tried cleaning the project, restarting the emulator, disabling Windows Defender, and checking test configurations, but nothing has worked so far. I'd really appreciate it if anyone could help me identify what's going wrong or what I should check next. Thank you in advance!

1 Answer 1

3

Finally found the solution, add this line to gradle.properties:

android.experimental.androidTest.useUnifiedTestPlatform=false
Sign up to request clarification or add additional context in comments.

2 Comments

fixed for me too, on Android 15, Redmi Turbo 4, thanks.
worked thanks ...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.