pcgod/mumble-android — Issue #55: Crash on 'Speak' (Android 4.0.2 G-Nexus)
Author: unusualbob
Created: 2012-02-09 19:24:49+00:00
State: open

I had to alter the code to bypass the crash as soon as you connect to any 1.2.3 mumble server by adding the new SuggestConfig message to the message enum. However upon attempting to speak in the channel the app crashes.

Stack:

02-09 14:11:19.804: I/mumbleclient(19520): Selected recording sample rate: 48000
02-09 14:11:19.804: W/dalvikvm(19520): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/pcgod/mumbleclient/jni/Native;
02-09 14:11:19.804: D/AndroidRuntime(19520): Shutting down VM
02-09 14:11:19.804: W/dalvikvm(19520): threadid=1: thread exiting with uncaught exception (group=0x40a4e1f8)
02-09 14:11:19.819: E/AndroidRuntime(19520): FATAL EXCEPTION: main
02-09 14:11:19.819: E/AndroidRuntime(19520): java.lang.ExceptionInInitializerError
02-09 14:11:19.819: E/AndroidRuntime(19520):	at org.pcgod.mumbleclient.service.audio.RecordThread.(RecordThread.java:64)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at org.pcgod.mumbleclient.service.MumbleService.setRecording(MumbleService.java:550)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at org.pcgod.mumbleclient.app.ChannelList$4.onClick(ChannelList.java:185)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at android.view.View.performClick(View.java:3480)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at android.widget.CompoundButton.performClick(CompoundButton.java:100)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at android.view.View$PerformClick.run(View.java:13983)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at android.os.Handler.handleCallback(Handler.java:605)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at android.os.Handler.dispatchMessage(Handler.java:92)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at android.os.Looper.loop(Looper.java:137)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at android.app.ActivityThread.main(ActivityThread.java:4340)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at java.lang.reflect.Method.invokeNative(Native Method)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at java.lang.reflect.Method.invoke(Method.java:511)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at dalvik.system.NativeStart.main(Native Method)
02-09 14:11:19.819: E/AndroidRuntime(19520): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load native: findLibrary returned null
02-09 14:11:19.819: E/AndroidRuntime(19520):	at java.lang.Runtime.loadLibrary(Runtime.java:365)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at java.lang.System.loadLibrary(System.java:535)
02-09 14:11:19.819: E/AndroidRuntime(19520):	at org.pcgod.mumbleclient.jni.Native.(Native.java:17)
02-09 14:11:19.819: E/AndroidRuntime(19520):	... 15 more

It looks like the issue lies with:
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load native: findLibrary returned null

I am guessing its possible I am not building this app properly for it to use native code, any suggestions?