rhdunn / espeak

eSpeak NG is an open source speech synthesizer that supports 101 languages and accents.
http://reecedunn.co.uk/espeak-for-android
GNU General Public License v3.0
386 stars 16 forks source link

I need libttsespeak.so #116

Closed amorenew closed 6 years ago

amorenew commented 6 years ago

I got error on Android because librrsespeak.so is missing

 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList
[[zip file "/data/app/com.reecedunn.espeak-dLLT48opPq9KYthFf6LLjQ==/base.apk"],
nativeLibraryDirectories=
[/data/app/com.reecedunn.espeak-dLLT48opPq9KYthFf6LLjQ==/lib/x86, /system/lib, /vendor/lib]]]
 couldn't find "libttsespeak.so"
    at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
    at java.lang.System.loadLibrary(System.java:1657)
    at com.reecedunn.espeak.SpeechSynthesis.<clinit>(SpeechSynthesis.java:56)
    at com.reecedunn.espeak.SpeechSynthesis.getVoiceCount(SpeechSynthesis.java:90)

Could you provide this file? it's not pushed because it is in the .gitignore file

rhdunn commented 6 years ago

It is excluded in .gitignore because it is a build artefact. See https://github.com/rhdunn/espeak#building-with-gradle.

Is your android system running in 64-bits only mode? You will need to modify https://github.com/rhdunn/espeak/blob/master/android/jni/Application.mk to build the 64-bit version of that library if that is the case.