Download Portable Gson-2.3.1.jar -
the gson-2.3.1.jar file from the link provided above.
If you are not using Maven or Gradle, follow these steps to add the JAR manually: download gson-2.3.1.jar
: Right-click project -> Properties -> Java Build Path -> Libraries -> Add JARs. the gson-2