Xuggler on Android

I am trying to use Xuggler on Android to convert WAV files to M4A.

I used xuggle-xuggler-noarch-5.4.jar in my java build path

and copied the libxuggler.so file from xuggle-xuggler-arch-i686-pc-linux-gnu.jar to my libs folder in my Android application.

in my main activity I have a static initializer that tries System.loadlibrary ("libxuggler")

however I just get this set of information and error messages

I/dalvikvm(27614): Could not find method com.xuggle.mediatool.ToolFactory.makeReader, referenced from method com.example.quality.MainActivity.convertToMP3 W/dalvikvm(27614): VFY: unable to resolve static method 3376: Lcom/xuggle/mediatool/ToolFactory;.makeReader (Ljava/lang/String;)Lcom/xuggle/mediatool/IMediaReader; W/dalvikvm(27614): Unable to resolve superclass of Lcom/example/quality/MainActivity$6; (485) W/dalvikvm(27614): Link of class 'Lcom/example/quality/MainActivity$6;' failed W/dalvikvm(27614): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/example/quality/MainActivity; W/dalvikvm(27614): Class init failed in newInstance call (Lcom/example/quality/MainActivity;) W/dalvikvm(27614): threadid=1: thread exiting with uncaught exception (group=0x40acf228) 

My System.loadlibrary caused an error with

 UnsatisfiedLinkError: Couldn't load libxuggle: findLibrary returned null 

can use Xuggler on Android

What I did wrong?

What I've done?

+4
source share
1 answer

Explanation for the xuggler-users group from Art Clarke:

I did not try to port xuggler to android, but if anyone is interested, all the code related to jvm is in the "ferry" module. The mgmt memory is particularly complex and complex, but a port is theoretically possible.

+4
source

All Articles