打开Android studio ,切换到Project模式,找到app下面的build.gradle文件,然后在dependencies 里面写下这段话
//Gson
implementation 'com.google.code.gson:gson:2.6.2'
点击右上角的sync,就这样
over
打开Android studio ,切换到Project模式,找到app下面的build.gradle文件,然后在dependencies 里面写下这段话
//Gson
implementation 'com.google.code.gson:gson:2.6.2'
点击右上角的sync,就这样
over