我试图在
Android上使用Xuggler将WAV文件转换为M4A.
我在java构建路径中使用了xuggle-xuggler-noarch-5.4.jar
并将xuggle-xuggler-arch-i686-pc-linux-gnu.jar中的libxuggler.so文件复制到我的android应用程序中的libs文件夹中.
在我的主要活动中,我有一个静态初始化程序,尝试System.loadlibrary(“libxuggler”)
但是我只是得到这些信息和错误消息
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)
UnsatisfiedLinkError: Couldn't load libxuggle: findLibrary returned null
是否可以在Android上使用Xuggler
我做错了什么?
我没做什么?