Unit test configuration broke in Android Studio 3.1

前端 未结 3 1336
遇见更好的自我
遇见更好的自我 2021-01-21 00:40

I updated to Android Studio 3.1 and as suggested by Android Studio also:

  • Updated the Android gradle plugin to 3.1.0 from 2.3.0 (also tried the new 3.1.1, the probl
3条回答
  •  情话喂你
    2021-01-21 01:20

    As this bug commenter pointed out: https://issuetracker.google.com/issues/77605097#comment7

    disabling the "configure on demand" feature of Gradle (in Settings: Build, Execution, and Deployment: Compiler) is a viable workaround.

    Since I did this my Unit tests are all working again.

提交回复
热议问题