/speechData/" + LICENSE_FILE_NAME); // 请替换为语音开发者平台上注册应用得到的App ID (离线授权) this.mSpeechSynthesizer.setAppId("我的appid= mSpeechSynthesizer.auth(TtsMode.MIX); // 判断授权信息是否正确mSpeechSynthesizer.initTts(TtsMode.MIX); mSpeechSynthesizer.speak("百度语音合成示例程序正在运行Log.i(TAG, "auth failed errorMsg=" + errorMsg); } 但是为什么一直报错