guerrerolor / android-x86

Automatically exported from code.google.com/p/android-x86
2 stars 1 forks source link

Google Text To Speech và Voice Search not work #817

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Config TTS output
2. Lauch Voice search

What is the expected output? What do you see instead?
Google TTS and Voice search work well

What version of the product are you using? On what operating system?
Android ICS RC1 tegav2

Please provide any additional information below.
i get error "Sorry, Google text to speech has stop working"

Original issue reported on code.google.com by phanmanh...@gmail.com on 3 Apr 2012 at 7:19

GoogleCodeExporter commented 9 years ago
Same problem with android-x86-4.0-RC1-eeepc.iso "Unfortunately, Google 
Text-to-speech Engine has stopped." Anything using the tts engine fails with 
that error. The pico tts engine works fine on 3.2 RC2. Here's the error in 
/dev/log/system, looks like just a missing library:

java.lang.ExceptionInInitializerError
    at com.google.android.tts.network.NetworkSynthesizer.<init>(NetworkSynthesizer.java:62)
    at com.google.android.tts.GoogleTTSService.onCreate(GoogleTTSService.java:50)
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:2253)
    at android.app.ActivityThread.access$1600(ActivityThread.java:123)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4424)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load speexwrapper: 
findLibrary returned null
    at java.lang.Runtime.loadLibrary(Runtime.java:365)
    at java.lang.System.loadLibrary(System.java:535)
    at com.google.android.tts.network.BufferedSpeexDecoder.<clinit>(BufferedSpeexDecoder.java:17)
    ... 13 more

Original comment by jscomb...@gmail.com on 12 Apr 2012 at 6:28

GoogleCodeExporter commented 9 years ago
This is probably because both Google Voice Search and Google Text to Speech use 
the NDK as noted by 

Caused by: java.lang.UnsatisfiedLinkError: Couldn't load speexwrapper: 
findLibrary returned null
    at java.lang.Runtime.loadLibrary(Runtime.java:365)
    at java.lang.System.loadLibrary(System.java:535)

Apparently whatever library it's referring to for speexwrapper is not available 
and would have to be compiled for Android and the x86 architecture.

Also, Google Voice Search has never worked in any of the x86 versions I've used.

Original comment by dreamcas...@gmail.com on 11 May 2012 at 8:12