6

çalışmıyor Android 4.2.2 yüklü olan device var. SpeechRecognition API'sini desteklemiyor. Metin uygulamasına bir konuşma denedim ve "Metne Konuşma, cihazınızda desteklemiyor" hatasını veriyor. Ayrıca Google Arama uygulamasını yüklerken ve sesli simgesini kullanarak arama yapmak için çalıştı, ama şu istisna veriyor çalıştı:Konuşma Tanıma (Metin Konuşma) android 4.2.2

02-13 21:58:48.077: E/AndroidRuntime(9403): java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: Couldn't load google_recognizer_jni from loader dalvik.system.PathClassLoader[dexPath=/system/app/com.google.android.googlequick searchbox-4.0.26.1499465.arm-300400260-minAPI16.apk,libraryPath=/data/app- lib/com.google.android.googlequicksearchbox-4.0.26.1499465.arm-300400260- minAPI16]: findLibrary returned null 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at emt.afterExecute(PG:487) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.lang.Thread.run(Thread.java:856) 
02-13 21:58:48.077: E/AndroidRuntime(9403): Caused by: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: Couldn't load google_recognizer_jni from loader dalvik.system.PathClassLoader[dexPath=/system/app/com.google.android.googlequick searchbox-4.0.26.1499465.arm-300400260-minAPI16.apk,libraryPath=/data/app- lib/com.google.android.googlequicksearchbox-4.0.26.1499465.arm-300400260- minAPI16]: findLibrary returned null 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.util.concurrent.FutureTask.report(FutureTask.java:94) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.util.concurrent.FutureTask.get(FutureTask.java:160) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  ... 4 more 
02-13 21:58:48.077: E/AndroidRuntime(9403): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load google_recognizer_jni from loader dalvik.system.PathClassLoader[dexPath=/system/app/com.google.android.googlequick searchbox-4.0.26.1499465.arm-300400260-minAPI16.apk,libraryPath=/data/app- lib/com.google.android.googlequicksearchbox-4.0.26.1499465.arm-300400260- minAPI16]: findLibrary returned null 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.lang.Runtime.loadLibrary(Runtime.java:365) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.lang.System.loadLibrary(System.java:535) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at gjr.aGA(PG:39) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at gjo.a(PG:84) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.lang.reflect.Method.invokeNative(Native Method) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.lang.reflect.Method.invoke(Method.java:511) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at err.run(PG:102) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.util.concurrent.FutureTask.run(FutureTask.java:234) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:153) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) 
02-13 21:58:48.077: E/AndroidRuntime(9403):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 

kimse bana bu sorunu çözmek için yardımcı olabilir misiniz?

Teşekkürler.

cevap

2

system/lib/libgoogle_recognizer_jni.so, https://docs.google.com/file/d/0B0P1Z8DuTunwN3pJNEsxa0JQYWs/edit adresinden /system/lib dizininize kopyalamayı deneyin. chmod 644 libgoogle_recognizer_jni.so'u da çalıştırdığınızdan emin olun.

+0

Bu sorunu Genymotion (https://www.genymotion.com/#!/) adresinde yaşıyorum. Bu nadiren gerçek cihazlarda bir sorun mu? – toobsco42

+0

@ toobsco42 Bu, Genymotion'da sizin için işe yaramıyor mu? Sistemi önyükleme yolu yok mu? Ben sadece senin adb kabuğu olduğunu düşünürdüm. –

2

UnsatisfiedLinkError görüntülendiğinden, .so yerel kitaplığınız, lib klasöründeki APK içinde değil.

Benzer olarak buna benzer question.

İlgili konular