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 |
Tags
- viewpager
- Github
- 레트로핏
- 코루틴
- coroutine
- Retrofit
- 안드로이드 스튜디오
- GIT
- Android
- MVVM
- 안스
- ADB
- 안드로이드스튜디오
- Gradle
- 에러
- WebView
- studio
- 깃헙
- 코틀린
- build
- 유튜브
- image
- 안드로이드
- error
- RecyclerView
- 스튜디오
- 웹뷰
- dart
- 의존성주입
- Kotlin
Archives
- Today
- Total
목록setLenient (1)
코딩하는 일용직 노동자

기존에 잘되던 앱에서 Retrofit으로 api를 호출하면 아래의 오류가 발생했다. Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ 구글에 검색을 해보니 GsonConverterFactory.create() 안에 GsonBuilder를 객체를 만들어 넣어주면 해결되는 문제였다. 나말고도 이런 오류를 경험한 사람이 많은가보다. https://stackoverflow.com/questions/39918814/use-jsonreader-setlenienttrue-to-accept-malformed-json-at-line-1-column-1-path Use JsonReader.setLenient(true) to ..
안드로이드
2020. 11. 21. 14:31