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
- 안드로이드스튜디오
- 안드로이드 스튜디오
- 안드로이드
- dart
- build
- Android
- Kotlin
- flow
- 깃헙
- error
- 코루틴
- 스튜디오
- ADB
- coroutine
- viewpager
- 의존성주입
- Gradle
- 유튜브
- RecyclerView
- 에러
- image
- MVVM
- Github
- 코틀린
- 웹뷰
- WebView
- studio
- 안스
- 레트로핏
- Retrofit
Archives
- Today
- Total
코딩하는 일용직 노동자
Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ 에러 본문
안드로이드
Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ 에러
bacass 2020. 11. 21. 14:31기존에 잘되던 앱에서 Retrofit으로 api를 호출하면 아래의 오류가 발생했다.
Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $

구글에 검색을 해보니
GsonConverterFactory.create() 안에 GsonBuilder를 객체를 만들어 넣어주면 해결되는 문제였다.

나말고도 이런 오류를 경험한 사람이 많은가보다.
Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
What is this error ? How can I fix this? My app is running but can't load data. And this is my Error: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ This is my
stackoverflow.com
'안드로이드' 카테고리의 다른 글
브레이크 포인트(breakpoint) 한꺼번에 제거하기 (0) | 2020.12.03 |
---|---|
registerForActivityResult 를 알아보자 (0) | 2020.11.28 |
ReactiveX ? RxAndroid ? (0) | 2020.11.14 |
Coil - 안드로이드 이미지로더 (0) | 2020.10.25 |
안드로이드 스튜디오 4.1 업데이트 후 kotlin-android-extensions를 수동으로 추가해야함. (0) | 2020.10.25 |