I am using this code : https://github.com/ddewaele/AndroidTwitterSample
I replace CONSUMER_KEY and CONSUMER_SECRET accordingly but I am still getting the error :
java.lang.NoClassDefFoundError: twitter4j.http.AccessToken
Can anybody explain why it is giving me error?
I Got the Solution. This may be helpful to someone who is using above link. Create a libs folder add all jar file there. After that register your app on twitter obtain consumer key, secrete key and callback url form there. paste it in ur code. Remember also change callback url in manifest file.