06-07 16:31:17.160 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] JNI DETECTED ERROR IN APPLICATION: JNI NewByteArray called with pending exception 'java.lang.NoSuchMethodError' thrown in int com.baidu.tts.jni.EmbeddedSynthesizerEngine.bdTTSSynthesis(long, byte[], int):-2
06-07 16:31:17.161 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] in call to NewByteArray
art/runtime/check_jni.cc:70] from int com.baidu.tts.jni.EmbeddedSynthesizerEngine.bdTTSSynthesis(long, byte[], int)
art/runtime/check_jni.cc:70] "EngineExecutorPoolThread(1)" prio=5 tid=24 Runnable
art/runtime/check_jni.cc:70] | group="main" sCount=0 dsCount=0 obj=0x12e2f100 self=0xb842d3b8
art/runtime/check_jni.cc:70] | sysTid=4109 nice=0 cgrp=default sched=0/0 handle=0xa1838000
art/runtime/check_jni.cc:70] | state=R schedstat=( 614246223 445184007 503 ) utm=59 stm=2 core=3 HZ=100
art/runtime/check_jni.cc:70] | stack=0xa105d000-0xa105f000 stackSize=1036KB
art/runtime/check_jni.cc:70] | held mutexes= "mutator lock"(shared held)
art/runtime/check_jni.cc:70] native: #00 pc 00004f60 /system/lib/libbacktrace_libc++.so (_ZN13UnwindCurrent6UnwindEjP8ucontext+23)
art/runtime/check_jni.cc:70] native: #01 pc 00247f45 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_6mirror9ArtMethodE+68)
art/runtime/check_jni.cc:70] native: #02 pc 0022c749 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+144)
art/runtime/check_jni.cc:70] native: #03 pc 000b0791 /system/lib/libart.so (_ZN3artL8JniAbortEPKcS1_+560)
art/runtime/check_jni.cc:70] native: #04 pc 000b0ecb /system/lib/libart.so (_ZN3art9JniAbortFEPKcS1_z+58)
art/runtime/check_jni.cc:70] native: #05 pc 000b3f59 /system/lib/libart.so (_ZN3art11ScopedCheckC2EP7_JNIEnviPKc+1276)
art/runtime/check_jni.cc:70] native: #06 pc 000bc1b1 /system/lib/libart.so (_ZN3art8CheckJNI12NewByteArrayEP7_JNIEnvi+20)
art/runtime/check_jni.cc:70] native: #07 pc 000019e9 /system/lib/libbdtts.so (callback_audio+64)
art/runtime/check_jni.cc:70] native: #08 pc 001157a1 /system/lib/libbd_etts.so (_ZN4etts27bd_tts_callback_output_dataEPKcic+200)
art/runtime/check_jni.cc:70] native: #09 pc 000d5ee1 /system/lib/libbd_etts.so (_Z10bd_vocoderPN4etts12DMatrixClassEPNS_12DVectorClassEPNS_7globalPEP12_HTS_VocoderPNS_19callback_wav_outputE+816)
art/runtime/check_jni.cc:70] native: #10 pc 00065ddd /system/lib/libbd_etts.so (_Z22paras_2_speech_vocoderPN4etts9_SynModelEPNS_12DMatrixClassES3_S3_PNS_12DVectorClassEPNS_7globalPEP12_HTS_VocoderPNS_19callback_wav_outputEiii+876)
art/runtime/check_jni.cc:70] native: #11 pc 00065f9f /system/lib/libbd_etts.so (paras_2_speech+286)
art/runtime/check_jni.cc:70] native: #12 pc 0006cd9b /system/lib/libbd_etts.so (_Z21Pdf2Speech_block_NNetP11NNET_EnginePN4etts9_SynModelEPNS1_7globalPEPNS1_7ElementEPNS1_19callback_wav_outputEPNS1_19tag_mem_stack_arrayE+762)
art/runtime/check_jni.cc:70] native: #13 pc 0006d2ad /system/lib/libbd_etts.so (_Z10Dnn2SpeechlPN4etts10TUTTERANCEEPsPic+208)
art/runtime/check_jni.cc:70] native: #14 pc 0006d36d /system/lib/libbd_etts.so (_Z10dnn_enginellPN4etts10TUTTERANCEEPsPic+128)
06-07 16:31:17.161 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] native: #15 pc 001140c1 /system/lib/libbd_etts.so (_ZN4etts33bd_tts_session_get_audio_back_endEP3TTSPNS_10TUTTERANCEE+352)
art/runtime/check_jni.cc:70] native: #16 pc 00114173 /system/lib/libbd_etts.so (_ZN4etts24bd_tts_session_get_audioEP3TTS+90)
art/runtime/check_jni.cc:70] native: #17 pc 0011434f /system/lib/libbd_etts.so (_ZN4etts24bd_tts_session_synthesisElPKciPv+286)
06-07 16:31:17.161 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] native: #18 pc 001145e3 /system/lib/libbd_etts.so (???)
06-07 16:31:17.161 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] native: #19 pc 001148e1 /system/lib/libbd_etts.so (_ZN4etts17bd_etts_synthesisElPKciPv+68)
art/runtime/check_jni.cc:70] native: #20 pc 00001be9 /system/lib/libbdtts.so (Java_com_baidu_tts_jni_EmbeddedSynthesizerEngine_bdTTSSynthesis+36)
art/runtime/check_jni.cc:70] native: #21 pc 00000b13 /data/dalvik-cache/arm/system@app@ScznWearLauncher@ScznWearLauncher.apk@classes.dex (Java_com_baidu_tts_jni_EmbeddedSynthesizerEngine_bdTTSSynthesis__J_3BI+142)
art/runtime/check_jni.cc:70] at com.baidu.tts.jni.EmbeddedSynthesizerEngine.bdTTSSynthesis(Native method)
art/runtime/check_jni.cc:70] - locked <0x2a4e56fa> (a java.lang.Class)
art/runtime/check_jni.cc:70] at com.baidu.tts.b.a.b.e$c.a(OfflineSynthesizer.java:489)
art/runtime/check_jni.cc:70] at com.baidu.tts.b.a.b.e.a(OfflineSynthesizer.java:105)
06-07 16:31:17.162 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] at com.baidu.tts.b.a.b.d.a(MixSynthesizer.java:196)
art/runtime/check_jni.cc:70] at com.baidu.tts.b.a.a.c$a.a(EngineExecutor.java:232)
art/runtime/check_jni.cc:70] at com.baidu.tts.b.a.a.c$a.call(EngineExecutor.java:212)
art/runtime/check_jni.cc:70] at java.util.concurrent.FutureTask.run(FutureTask.java:237)
art/runtime/check_jni.cc:70] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
art/runtime/check_jni.cc:70] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
art/runtime/check_jni.cc:70] at java.lang.Thread.run(Thread.java:818)
art/runtime/check_jni.cc:70]
06-07 16:31:17.162 3354-4109/com.sczn.wearlauncher A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 4109 (EngineExecutorP)
06-07 16:31:17.161 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] in call to NewByteArray
art/runtime/check_jni.cc:70] from int com.baidu.tts.jni.EmbeddedSynthesizerEngine.bdTTSSynthesis(long, byte[], int)
art/runtime/check_jni.cc:70] "EngineExecutorPoolThread(1)" prio=5 tid=24 Runnable
art/runtime/check_jni.cc:70] | group="main" sCount=0 dsCount=0 obj=0x12e2f100 self=0xb842d3b8
art/runtime/check_jni.cc:70] | sysTid=4109 nice=0 cgrp=default sched=0/0 handle=0xa1838000
art/runtime/check_jni.cc:70] | state=R schedstat=( 614246223 445184007 503 ) utm=59 stm=2 core=3 HZ=100
art/runtime/check_jni.cc:70] | stack=0xa105d000-0xa105f000 stackSize=1036KB
art/runtime/check_jni.cc:70] | held mutexes= "mutator lock"(shared held)
art/runtime/check_jni.cc:70] native: #00 pc 00004f60 /system/lib/libbacktrace_libc++.so (_ZN13UnwindCurrent6UnwindEjP8ucontext+23)
art/runtime/check_jni.cc:70] native: #01 pc 00247f45 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_6mirror9ArtMethodE+68)
art/runtime/check_jni.cc:70] native: #02 pc 0022c749 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+144)
art/runtime/check_jni.cc:70] native: #03 pc 000b0791 /system/lib/libart.so (_ZN3artL8JniAbortEPKcS1_+560)
art/runtime/check_jni.cc:70] native: #04 pc 000b0ecb /system/lib/libart.so (_ZN3art9JniAbortFEPKcS1_z+58)
art/runtime/check_jni.cc:70] native: #05 pc 000b3f59 /system/lib/libart.so (_ZN3art11ScopedCheckC2EP7_JNIEnviPKc+1276)
art/runtime/check_jni.cc:70] native: #06 pc 000bc1b1 /system/lib/libart.so (_ZN3art8CheckJNI12NewByteArrayEP7_JNIEnvi+20)
art/runtime/check_jni.cc:70] native: #07 pc 000019e9 /system/lib/libbdtts.so (callback_audio+64)
art/runtime/check_jni.cc:70] native: #08 pc 001157a1 /system/lib/libbd_etts.so (_ZN4etts27bd_tts_callback_output_dataEPKcic+200)
art/runtime/check_jni.cc:70] native: #09 pc 000d5ee1 /system/lib/libbd_etts.so (_Z10bd_vocoderPN4etts12DMatrixClassEPNS_12DVectorClassEPNS_7globalPEP12_HTS_VocoderPNS_19callback_wav_outputE+816)
art/runtime/check_jni.cc:70] native: #10 pc 00065ddd /system/lib/libbd_etts.so (_Z22paras_2_speech_vocoderPN4etts9_SynModelEPNS_12DMatrixClassES3_S3_PNS_12DVectorClassEPNS_7globalPEP12_HTS_VocoderPNS_19callback_wav_outputEiii+876)
art/runtime/check_jni.cc:70] native: #11 pc 00065f9f /system/lib/libbd_etts.so (paras_2_speech+286)
art/runtime/check_jni.cc:70] native: #12 pc 0006cd9b /system/lib/libbd_etts.so (_Z21Pdf2Speech_block_NNetP11NNET_EnginePN4etts9_SynModelEPNS1_7globalPEPNS1_7ElementEPNS1_19callback_wav_outputEPNS1_19tag_mem_stack_arrayE+762)
art/runtime/check_jni.cc:70] native: #13 pc 0006d2ad /system/lib/libbd_etts.so (_Z10Dnn2SpeechlPN4etts10TUTTERANCEEPsPic+208)
art/runtime/check_jni.cc:70] native: #14 pc 0006d36d /system/lib/libbd_etts.so (_Z10dnn_enginellPN4etts10TUTTERANCEEPsPic+128)
06-07 16:31:17.161 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] native: #15 pc 001140c1 /system/lib/libbd_etts.so (_ZN4etts33bd_tts_session_get_audio_back_endEP3TTSPNS_10TUTTERANCEE+352)
art/runtime/check_jni.cc:70] native: #16 pc 00114173 /system/lib/libbd_etts.so (_ZN4etts24bd_tts_session_get_audioEP3TTS+90)
art/runtime/check_jni.cc:70] native: #17 pc 0011434f /system/lib/libbd_etts.so (_ZN4etts24bd_tts_session_synthesisElPKciPv+286)
06-07 16:31:17.161 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] native: #18 pc 001145e3 /system/lib/libbd_etts.so (???)
06-07 16:31:17.161 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] native: #19 pc 001148e1 /system/lib/libbd_etts.so (_ZN4etts17bd_etts_synthesisElPKciPv+68)
art/runtime/check_jni.cc:70] native: #20 pc 00001be9 /system/lib/libbdtts.so (Java_com_baidu_tts_jni_EmbeddedSynthesizerEngine_bdTTSSynthesis+36)
art/runtime/check_jni.cc:70] native: #21 pc 00000b13 /data/dalvik-cache/arm/system@app@ScznWearLauncher@ScznWearLauncher.apk@classes.dex (Java_com_baidu_tts_jni_EmbeddedSynthesizerEngine_bdTTSSynthesis__J_3BI+142)
art/runtime/check_jni.cc:70] at com.baidu.tts.jni.EmbeddedSynthesizerEngine.bdTTSSynthesis(Native method)
art/runtime/check_jni.cc:70] - locked <0x2a4e56fa> (a java.lang.Class)
art/runtime/check_jni.cc:70] at com.baidu.tts.b.a.b.e$c.a(OfflineSynthesizer.java:489)
art/runtime/check_jni.cc:70] at com.baidu.tts.b.a.b.e.a(OfflineSynthesizer.java:105)
06-07 16:31:17.162 3354-4109/com.sczn.wearlauncher A/art: art/runtime/check_jni.cc:70] at com.baidu.tts.b.a.b.d.a(MixSynthesizer.java:196)
art/runtime/check_jni.cc:70] at com.baidu.tts.b.a.a.c$a.a(EngineExecutor.java:232)
art/runtime/check_jni.cc:70] at com.baidu.tts.b.a.a.c$a.call(EngineExecutor.java:212)
art/runtime/check_jni.cc:70] at java.util.concurrent.FutureTask.run(FutureTask.java:237)
art/runtime/check_jni.cc:70] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
art/runtime/check_jni.cc:70] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
art/runtime/check_jni.cc:70] at java.lang.Thread.run(Thread.java:818)
art/runtime/check_jni.cc:70]
06-07 16:31:17.162 3354-4109/com.sczn.wearlauncher A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 4109 (EngineExecutorP)
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
测试下官方demo,看下集成指南
'java.lang.NoSuchMethodError'这个可以百度下