Đang sử dụng tích hợp twitter bằng cách sử dụng dự án SocialLib. Nhưng điều không ngừng am gettingjava.lang.NoClassDefFoundError: oauth.signpost.commonshttp.CommonsHttpOAuthConsumer android
java.lang.NoClassDefFoundError: oauth.signpost.commonshttp.CommonsHttpOAuthConsumer
tại dòng
httpOauthConsumer = new CommonsHttpOAuthConsumer(consumerKey, consumerSecret);
và nhập khẩu của tôi là:
import oauth.signpost.commonshttp.CommonsHttpOAuthConsumer;
import oauth.signpost.commonshttp.CommonsHttpOAuthProvider;
import oauth.signpost.exception.OAuthCommunicationException;
import oauth.signpost.exception.OAuthExpectationFailedException;
import oauth.signpost.exception.OAuthMessageSignerException;
import oauth.signpost.exception.OAuthNotAuthorizedException;
và lọ i sử dụng và tải về từ: http://code.google.com/p/oauth-signpost/downloads/list
Làm thế nào để reslove này?
Hanks
Dưới đây là một giải pháp: http://stackoverflow.com/questions/10623864/oauth-with-android - @Phix đã giúp cho tôi. – formatBCE