Hi I am n00b in classpath and Ant. While reading the tutorial of GCM for Android I came across a line
Step 1: Copy the gcm.jar file into your application classpath
To write your Android application, first copy the gcm.jar file from the SDK's gcm-client/dist directory to your application classpath.
I got the gcm.jar from the dist
folder. Now how do I put it into my classpath using Eclipse(I think that would be easier)? And where would I make changes if I didnt have Eclipse?
Thnaks
Try the File System export, select only . classpath files for all the Projects you want to export and in the options select 'Create directory structure for files' to make sure each project classpath is generated in its own folder. for using this to import, just copy-paste the exported files(containing only .
As of rev 17 of the Android Developer Tools, the correct way to add a library jar when.using the tools and Eclipse is to create a directory called libs
on the same level as your src
and assets
directories and then drop the jar in there. Nothing else.required, the tools take care of all the rest for you automatically.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With