Java.lang.NoClassDefFoundError: oauth.signpost.commonshttp.CommonsHttpOAuthConsumer android

I am using twitter integration using SocialLib project. But the fact is that I constantly get

java.lang.NoClassDefFoundError: oauth.signpost.commonshttp.CommonsHttpOAuthConsumer 

in line

httpOauthConsumer = new CommonsHttpOAuthConsumer(consumerKey, consumerSecret);

and my import:

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;

and banks that I used and downloaded from: http://code.google.com/p/oauth-signpost/downloads/list

How to transfer it?

Hanks

+5
source share
1 answer

Here is the jarlibrary: http://code.google.com/p/oauth-signpost/downloads/detail?name=signpost-commonshttp4-1.2.1.1.jar&can=2&q= You must add it to your project as an external jar.

+1
source

All Articles