Sign in to follow this  
nelsongalvan

Is your API JAVA SDK compatible with Android?

Recommended Posts

Hello,

 

we are trying to develop an Android app using your JAVA SDK but on your Meli.java on the line #28: http = new AsyncHttpClient(cf); it throws:

 
06-13 12:26:27.041: E/AndroidRuntime(3384): java.lang.VerifyError: com/ning/http/client/providers/jdk/JDKAsyncHttpProvider
06-13 12:26:27.041: E/AndroidRuntime(3384):  at com.ning.http.client.AsyncHttpClient.loadDefaultProvider(AsyncHttpClient.java:584)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at com.ning.http.client.AsyncHttpClient.<init>(AsyncHttpClient.java:181)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at com.mercadolibre.sdk.Meli.<init>(Meli.java:28)
...
06-13 12:26:27.041: E/AndroidRuntime(3384):  at android.app.Activity.performCreate(Activity.java:5231)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at android.app.ActivityThread.access$800(ActivityThread.java:135)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at android.os.Handler.dispatchMessage(Handler.java:102)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at android.os.Looper.loop(Looper.java:136)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at android.app.ActivityThread.main(ActivityThread.java:5001)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at java.lang.reflect.Method.invokeNative(Native Method)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at java.lang.reflect.Method.invoke(Method.java:515)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
06-13 12:26:27.041: E/AndroidRuntime(3384):  at dalvik.system.NativeStart.main(Native Method)
We have all the correct dependencies. Is your JAVA SDK compatible with Android?
 
Thanks.
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this