如何解决java.lang.NoClassDefFoundError的UserAgentConfig $回调与Twilio [英] How to resolve java.lang.NoClassDefFoundError UserAgentConfig$Callbacks with Twilio
问题描述
我使用Twilio客户端Android SDK中,但得到这个错误,同时尝试运行它: -
产生的原因:java.lang.NoClassDefFoundError的:类LCOM / twilio /客户/ IMPL /用户代理/配置/ UserAgentConfig $回调;未找到
我有包括twilioclient-Android的1.1.2-3635733.jar什么地方出了错人
应该是什么命令中─
当前订单
的是Android 4.4.2
Android的私家藏书
Android的依赖
项目/根
项目/ src目录
试试这个:
项目 - >配置构建path->秩序和导出 - >在上面移动依赖项目
块引用>和
当你使用谷歌的API(如地图)的应用程序,但为目标的API的Android设备上运行它,也会产生这个错误。
块引用>完蛋了。
I am using Twilio Client Android sdk but failing with this error while try to run it :-
Caused by: java.lang.NoClassDefFoundError: Class "Lcom/twilio/client/impl/useragent/config/UserAgentConfig$Callbacks;" not found
I have include twilioclient-android-1.1.2-3635733.jar what went wrong anyone
What should be the Order- Current Order
Android 4.4.2 Android Private Libraries Android Dependencies Project/gen Project/src
解决方案Try this:
project-> config build path-> order and export-> move dependent project on top
and
this error is also generated when you make an app that uses the Google API (such as Maps) but run it on a device that targets the Android API.
thats it.
这篇关于如何解决java.lang.NoClassDefFoundError的UserAgentConfig $回调与Twilio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!