You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Lottie 4.2.1
call LottieAnimationView.setAnimationFromUrl(..),when download zip file's Content-Type is not 'application/zip',maybe is 'application/x-zip' or "application/x-zip-compressed",exception occurs:
Caused by: com.airbnb.lottie.parser.moshi.JsonEncodingException: Use JsonReader.setLenient(true) to accept malformed JSON at path $
at com.airbnb.lottie.parser.moshi.JsonReader.syntaxError(JsonReader.java:249)
at com.airbnb.lottie.parser.moshi.JsonUtf8Reader.checkLenient(JsonUtf8Reader.java:952)
at com.airbnb.lottie.parser.moshi.JsonUtf8Reader.doPeek(JsonUtf8Reader.java:348)
at com.airbnb.lottie.parser.moshi.JsonUtf8Reader.beginObject(JsonUtf8Reader.java:137)
Screenshots
Only Content-Type 'application/zip' be handled as '.ZIP' file
The text was updated successfully, but these errors were encountered:
Describe the bug
Lottie 4.2.1
call LottieAnimationView.setAnimationFromUrl(..),when download zip file's Content-Type is not 'application/zip',maybe is 'application/x-zip' or "application/x-zip-compressed",exception occurs:
Caused by: com.airbnb.lottie.parser.moshi.JsonEncodingException: Use JsonReader.setLenient(true) to accept malformed JSON at path $
at com.airbnb.lottie.parser.moshi.JsonReader.syntaxError(JsonReader.java:249)
at com.airbnb.lottie.parser.moshi.JsonUtf8Reader.checkLenient(JsonUtf8Reader.java:952)
at com.airbnb.lottie.parser.moshi.JsonUtf8Reader.doPeek(JsonUtf8Reader.java:348)
at com.airbnb.lottie.parser.moshi.JsonUtf8Reader.beginObject(JsonUtf8Reader.java:137)
Screenshots
Only Content-Type 'application/zip' be handled as '.ZIP' file
The text was updated successfully, but these errors were encountered: