google-developer-training / basic-android-kotlin-compose-training-mars-photos

Solution code for Android Basics in Kotlin course
https://developer.android.com/courses/android-basics-kotlin/course?gclid=CjwKCAjw4c-ZBhAEEiwAZ105RTyT-iaLHzrhMBUXdMhO230ZDwOwxxI2x4RgK8DwBxK8t1h0wmU_QxoCi4YQAvD_BwE
Apache License 2.0
66 stars 54 forks source link

Add Repository #102

Closed Napharcos closed 6 months ago

Napharcos commented 6 months ago

URL of codelab:

https://developer.android.com/codelabs/basic-android-kotlin-compose-add-repository?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-5-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-add-repository#10

Specify the language of the codelab if it is not English:

In which task and step of the codelab can this issue be found?

run tests

Describe the problem

After running the tests i got the following error message: "Test events were not received"

Steps to reproduce?

  1. download solution code
  2. run test
  3. see error

Versions _Android Studio version:_2022.3.1 _API version of the emulator:_34

Additional information Include screenshots if they would be useful in clarifying the problem.

Build output: Could not find or load main class worker.org.gradle.process.internal.worker.GradleWorkerMain Caused by: java.lang.ClassNotFoundException: worker.org.gradle.process.internal.worker.GradleWorkerMain

Execution failed for task ':app:testDebugUnitTest'. Process 'Gradle Test Executor 4' finished with non-zero exit value 1