Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Simple Question About Android Examples
I'm trying to get the Android Examples to work. I am following the directions exactly, and am getting a lot of "cannot be resolved" errors for many of the import statements. For example, "the import net.authorize.android.R cannot be resolved."
I have tried all manner of creating new android projects, and importing the anet_android_samples into a project. The lib anet-java-sdk-android-2.0.5.jar is included in the build path.
Can someone please tell me what I might be doing wrong?
I have tried all manner of creating new android projects, and importing the anet_android_samples into a project. The lib anet-java-sdk-android-2.0.5.jar is included in the build path.
Can someone please tell me what I might be doing wrong?
โ10-02-2012 04:10 PM
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you read the README in the zip file? It listed a few more step for Eclipse.
โ10-02-2012 05:09 PM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try putting anet-java-sdk-android-2.0.5.jar in /libs folder, not /lib.
The new version of the Android SDK requires external libraries to be placed in the /libs folder; that should fix your problem.
โ10-18-2012 01:16 PM - edited โ10-18-2012 01:16 PM