Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Q] No implementation found for native ResampleInputStream;.fir21:([BI[BII)V

$
0
0
I built my AOSP JB for a tablet, including all necessary customizations (project details discussed over here: https://groups.google.com/forum/#!fo...nesas-emev-osp).

I'm now in the clean-up stage, with a list of "minor" issues being debugged and hopefully removed. One of these is the use of Google Voice Search, which fails with this message:

Unfortunately, Voice Search has stopped

I've attached the complete logcat at http://pastebin.com/K1ces0Ai. Latest lines are those from the failure above.

I think these are the critical ones:

W/dalvikvm( 1130): No implementation found for native Lcom/google/android/voicesearch/endpointer/ResampleInputStream;.fir21:([BI[BII)V
W/dalvikvm( 1130): threadid=16: thread exiting with uncaught exception (group=0x40a46300)
E/AndroidRuntime( 1130): FATAL EXCEPTION: Thread-122
E/AndroidRuntime( 1130): java.lang.UnsatisfiedLinkError: Native method not found: com.google.android.voicesearch.endpointer.Resample InputStream.fir21:([BI[BII)V
E/AndroidRuntime( 1130): at com.google.android.voicesearch.endpointer.Resample InputStream.fir21(Native Method)

I found this in JB source code:

./frameworks/base/media/jni/android_media_ResampleInputStream.cpp

where fir21 is implemented, but it looks like it hasn't been compiled, or not correctly compiled. Could it be?

I looked at http://developer.android.com/trainin...i.html#faq_ULE too, but it's been of little help.

Enabling debug logs I can see the library being loaded and methods registered:

I/MediaPlayerJNI( 72): JNI_OnLoad registering functions...
I/ResampleInputStream( 72): android/media/ResampleInputStream JNI registering

So I don't understand why, when java requires "fir21" from ResampleInputStream JNI, it can't find it. Naming should be correct, I guess... (this is all OOB AOSP code).

Any suggestions a bout how to debug this?

Thanks in advance!

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>