Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试了Twilio SDK示例HelloMonkey并且应用程序失败并出现异常: NoClassDefError trying to instantiate com.twilio.example.hellomonkey.MonkeyPhone. 我正在使用日食。任何想法可能是什么问题?
NoClassDefError trying to instantiate com.twilio.example.hellomonkey.MonkeyPhone
默认项目设置不会选择所有 Android 依赖项。在eclipse中选择项目右键并选择“Properties”->“Java Build Path”。选择“订购和导出”选项卡并选择所有 Android 依赖项。另外,将“gen”路径移到“src”上方。构建并启动应用程序