Skip to content Skip to sidebar Skip to footer

When Using Jersey For Restful Api In Android App I Get This Error:

Here is the code that i am using : import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.v

Solution 1:

im not sure this is right solution

according to Jersey deps you need to have jersey-json module in your dependencies/classpath.

The library will be recognised if its name is libitv.so and is placed in libs\armeabi directory in your application directory, before the .apk is built.

Sometimes when the library is not copied completely(partial copy), due to some system issues the partial library too will not be recognized.

For more details refer here

try this link have some solution

update:

java.lang.ExceptionInInitializerError

Caused by: java.lang.UnsatisfiedLinkError: Library jniavutil not found

You need to install libFLAC in addition to libsndfile. You can probably install libFLAC using whatever method you used to get libsndfile installed...

You have missed out the importent bits from the ddms log. Look for a line that includes "caused by" and/or include more of the exception log so we can have a look at it.

You've compiled with CodePro coverage enabled. Turn it off.

Actually this is the problem we are facing with ADT 17 you have to put your jar file into libs folder in order to overcome this exception

so right click on your project -->create a folder with name libs

and follow this step in

right click (on libs folder) -->import-->File System-->browse to select your jar file and hit finish and run you project.

after that

 right click on the project --> Built Path-->java built path-->add jars select your jar file from your libs folder

if this also didn't work rebuilding everything (included data), and it will works.

Post a Comment for "When Using Jersey For Restful Api In Android App I Get This Error:"