我正在开发一个集成了雅虎的应用程序,以便我可以从雅虎邮件中检索联系人。我已经在我的应用程序中导入了 jar 文件。
我收到以下错误
E/AndroidRuntime(416): FATAL EXCEPTION: main 04-30 10:30:57.693:
E/AndroidRuntime(416): java.lang.NoClassDefFoundError:
oauth.signpost.commonshttp.CommonsHttpOAuthConsumer
java.lang.NoClassDefFoundError
means that one class could not be found. In your case CommonsHttpOAuthConsumer
.
Looks like you are using a third party library and have forgotten to add it( or add it correctly ) to the project build path.
Refer to this link if it is the case.