- Build Dependencies
- License Information
This branch contains the files needed to build espeak on the android platform. It is derived from the eyes-free project.
In order to build eSpeak, you need:
- a functional autotools system (
- a functional c++ compiler;
- wxWidgets development libraries (needed to build and run espeakedit to compile the phoneme data).
In order to build the APK, you need:
In order to use Android Studio, you will also need:
In order to use Eclipse, you will also need:
- the Android Developer Tools (ADT) for Eclipse.
Set the location of the Android SDK:
Build the project:
$ ./autogen.sh $ ./configure $ make
This will create an
Build the JNI binding and espeak data file by running:
$ ./autogen.sh $ ./configure $ make jni espeakdata
- Open Eclipse.
- Create a new workspace.
- Import the espeak folder as an exising Android project.
- Build the espeak apk within Eclipse.
eSpeakActivity.apk can be installed like any other apk build
via eclipse, such as by using the
Run menu option.
In order to install the built APK (e.g.
you need to self-sign the package. You can do this by:
Creating a certificate, if you do not already have one:
$ keytool -genkey -keystore [YOUR_CERTIFICATE] -alias [ALIAS]
Sign the package using your certificate:
$ jarsigner -sigalg MD5withRSA -digestalg SHA1 \ -keystore [YOUR_CERTIFICATE] \ bin/eSpeakActivity-release-unsigned.apk [ALIAS]
Align the apk using the zipalign tool.
$ zipalign 4 bin/eSpeakActivity-release-unsigned.apk \ bin/eSpeakActivity-release-signed.apk
Now, you can install the APK using the
eSpeakActivity will extract the
espeakdata.zip file into its
own data directory to set up the available voices.
To enable eSpeak, you need to:
- go into the Android
eSpeak TTSin the
eSpeak TTSas the default engine;
- use the
Listen to an exampleoption to check if everything is working.
Report bugs to the espeak issues page on GitHub.
eSpeak Text-to-Speech is released under the GPL version 3 or later license.
The eSpeak Android APK code in the
android folder is released under the
Apache 2.0 license.
Android and Google Play are registered trademarks of Google Inc.
All trademarks are property of their respective owners.