You can create a library project
which contains the jar
file, and then add this library to your project.
Create library project in eclipse: File->New->Android application project->Next->Check Mark this porject as a library, uncheck Create custom launcher icon and Create activity->Finish
Add the library to your project: Right click your project->Properties->Android->Add->Select the library project you created ->Apply->OK
After finishing these two, you should be able to use Gson
, and when pushing your project,
remember to push the library project
as well.