简体   繁体   中英

Testing android app without text to speech engine installed

I want to test my program on a platform where Text to speech engine is not installed.

I want to use emulator but can't seem to remove Text to speech engine from it.

I am using AVD manager to do that..

Please advise how can I achieve it.

Thanks,

The default TTS engine is part of the system, so you can't remove it. You could probably remove the data files, but is not a good idea, since the emulator doesn't have the Market/Play app, so you can't download them (easily).

Test on a real device, and possibly remove the language data files, to test if the app handles this case correctly.

You can test by removing the data files on an emulator.

First remove the data files by doing this:

adb remount
adb shell rm -r /system/tts/lang_pico/*

then reinstall the files by running this: http://code.google.com/p/eyes-free/downloads/list

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM