google-developer-training / basic-android-kotlin-compose-training-tip-calculator

Apache License 2.0
61 stars 93 forks source link

Write automated tests: Android Basics with Compose #214

Open 0Newen opened 3 months ago

0Newen commented 3 months ago

After following the instructions of the CodeLab I try to run the Instrumentation test created just for notice there wasn't working. I tried some solutions presented on the web but what fixed the issue was:

  1. Open the Build.gradle(:app) file.
  2. Copy the following line: debugImplementation 'androidx.tracing:tracing:1.1.0'
  3. Paste it under the dependencies Tag
  4. Rebuild your project
  5. Try again to run the Test
  6. That solved my bug. Hopefully it solves yours!

Bug Information: IntrumentationTestFailed.pdf