Comment 0 for bug 1032719

On Samsung Origen board with Linaro Jelly Bean build:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=5

Launch Speech Recorder app, click Record button, then the pop window shows:

Unfortunately, Speech Recorder has stopped.

Below is serial console logout:

E/AndroidRuntime( 3138): FATAL EXCEPTION: main
E/AndroidRuntime( 3138): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3138): at com.android.speechrecorder.SpeechRecorderActivity.setupRecording(SpeechRecorderActivity.java:158)
E/AndroidRuntime( 3138): at com.android.speechrecorder.SpeechRecorderActivity.access$000(SpeechRecorderActivity.java:41)
E/AndroidRuntime( 3138): at com.android.speechrecorder.SpeechRecorderActivity$1.onClick(SpeechRecorderActivity.java:90)
E/AndroidRuntime( 3138): at android.view.View.performClick(View.java:4084)
E/AndroidRuntime( 3138): at android.view.View$PerformClick.run(View.java:16966)
E/AndroidRuntime( 3138): at android.os.Handler.handleCallback(Handler.java:615)
E/AndroidRuntime( 3138): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 3138): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3138): at android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 3138): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3138): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3138): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 3138): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 3138): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3138): Caused by: java.lang.UnsatisfiedLinkError: Library srec_jni not found; tried [/vendor/lib/libsrec_jni.so, /system/lib/libsrec_jni.so]
E/AndroidRuntime( 3138): at java.lang.Runtime.loadLibrary(Runtime.java:393)
E/AndroidRuntime( 3138): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 3138): at android.speech.srec.MicrophoneInputStream.<clinit>(MicrophoneInputStream.java:33)
E/AndroidRuntime( 3138): ... 14 more
W/ActivityManager( 2532): Force finishing activity com.android.speechrecorder/.SpeechRecorderActivity