Bryson Shier Bryson Shier - 6 months ago 57
Android Question

Android Studio MalformedJsonException

Just today I was on Android Studio working on a project, when my computer suddenly crashed in the middle of an upload.
Ever since I rebooted it, the Gradle Console has been returning this same error:
java.lang.RuntimeException: Use
JsonReader.setLenient(true) to accept malformed JSON at line 1 column

I cannot make any sense out of this error, and could not find anyone else with the same issue. They always tend to differ in weird ways, and none of them are the error I have. I have not edited any of the JSON files (because I don't know where they are located).

Answer Source

Clean your project using :

Go to Build -> Clean Project

Then Rebuild again using :

Go to Build -> Rebuild Project

I hope it might help you !

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download