cancel
Showing results for 
Search instead for 
Did you mean: 

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?

begreen
Member
2 REPLIES 2

Did you read the README in the zip file? It listed a few more step for Eclipse.

RaynorC1emen7
Expert

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. 

spencer
Member