Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked
リファレンス
https://dnight.tistory.com/entry/javalangRuntimeException-Method-myLooper-in-androidosLooper-not-mocked
Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked
https://dnight.tistory.com/entry/javalangRuntimeException-Method-myLooper-in-androidosLooper-not-mocked
Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked
android {
// ...
testOptions {
unitTests.returnDefaultValues = true
}
}
モジュールレベル構築.gradleは上のように追加されます.Reference
この問題について(Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked), 我々は、より多くの情報をここで見つけました https://velog.io/@cluelin/Caused-by-java.lang.RuntimeException-Method-getMainLooper-in-android.os.Looper-not-mockedテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol