ฉันมีปัญหาในการใช้โปรแกรม ispeech.org TTS กับแอป Android ของฉัน
แอปขัดข้องเมื่อ:
java.lang.NoClassDefFoundError: org.ispeech.iSpeechFramework
at org.ispeech.SpeechSynthesis.showProcessingDialog(SpeechSynthesis.java:276)
at org.ispeech.SpeechSynthesis.speak(SpeechSynthesis.java:352)
ฉันได้เพิ่มบรรทัดนี้ใน AndroidManifest.xml:
<activity android:name="org.ispeech.iSpeechFramework" android:configChanges="orientation|keyboard" android:theme="@android:style/Theme.Translucent"/>
อย่างไรก็ตาม IntelliJ บ่นว่า
"'org.ispeech.iSpeechFrameworkd' ไม่สามารถมอบหมายให้กับ 'app.android.Activity'"
ใครสามารถช่วยฉันเข้าใจสิ่งที่ฉันทำผิด?