0

I'm trying to use the JsonParser interface and Gson but when I type them in the code Android Studio doesn't recognize them and so I can't even import them automatically.

Can someone explain me how to do this?

Mattia Righetti
  • 1,265
  • 1
  • 18
  • 31

1 Answers1

0
  • Add the jar to libs folder.
  • Right click on the jar and select "Add as library"
  • Make sure your applications build.gradle has the newly added jar listed in compile files

Already answered here

Community
  • 1
  • 1
The ML Guy
  • 16
  • 1