Can someone give me step by step guide to add the Gson library to an Android project?
I tried the JSON
built-in library but that seems to be a bit tedi
There is no need of adding JAR to your project by yourself, just add dependency in build.gradle (Module lavel). ALSO always try to use the upgraded version, as of now is
dependencies {
implementation 'com.google.code.gson:gson:2.8.5'
}
As every incremental version has some bugs fixes or up-gradations as mentioned here