Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- kodility
- Android P
- Flutter TextField
- android architecture component
- livedata
- android push
- RxJava
- Django REST Android
- 알고리즘
- 코틀린
- RxAndroid
- 안드로이드 구글맵
- Kotlin
- Rxjava2
- flutter firestore
- mfc
- UWP
- 프로그래머스
- FLUTTER
- Android
- dart
- Python
- C/C++
- NDK
- C++
- Java
- Django REST framework
- C
- 안드로이드
- Django REST
Archives
- Today
- Total
목록mock (1)
개발하는 두더지
java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked.
JUnit @Before 에서 필드 초기화 과정 중에 안드로이드 프레임워크 코드를 사용하게되면 아래와 같은 에러 메시지가 나옵니다. java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details. at android.os.Looper.getMainLooper(Looper.java) at androidx.arch.core.executor.DefaultTaskExecutor.isMainThread(DefaultTaskExecutor.java:77) at androidx.arch.core.executor.ArchTaskExecutor..
Java,Android
2019. 10. 22. 10:48