Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7867523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:44:05+00:00 2026-06-03T00:44:05+00:00

I use twitter4j library to make somethings with twitter. But i have a problem

  • 0

I use twitter4j library to make somethings with twitter. But i have a problem about AccesToken class. I checked my libraries, there is only one AccesToken class and it is in twitter4j.http
There are no other AccesToken class.
My code was working about 10 hours ago, but now it doesn’t work. I am about to go mad :/

Here is my log trace:

04-24 15:53:32.767: E/dalvikvm(305): Could not find class 'twitter4j.http.AccessToken', referenced from method com.twitterresim.TwitterOnay.isAuthenticated
04-24 15:53:32.767: W/dalvikvm(305): VFY: unable to resolve new-instance 67 (Ltwitter4j/http/AccessToken;) in Lcom/twitterresim/TwitterOnay;
04-24 15:53:32.767: D/dalvikvm(305): VFY: replacing opcode 0x22 at 0x0010
04-24 15:53:32.767: D/dalvikvm(305): Making a copy of Lcom/twitterresim/TwitterOnay;.isAuthenticated code (124 bytes)
04-24 15:53:32.767: E/dalvikvm(305): Could not find class 'twitter4j.http.AccessToken', referenced from method com.twitterresim.TwitterOnay.sendTweet
04-24 15:53:32.767: W/dalvikvm(305): VFY: unable to resolve new-instance 67 (Ltwitter4j/http/AccessToken;) in Lcom/twitterresim/TwitterOnay;
04-24 15:53:32.767: D/dalvikvm(305): VFY: replacing opcode 0x22 at 0x0010
04-24 15:53:32.767: D/dalvikvm(305): Making a copy of Lcom/twitterresim/TwitterOnay;.sendTweet code (104 bytes)
04-24 15:53:32.767: D/AndroidRuntime(305): Shutting down VM
04-24 15:53:32.767: W/dalvikvm(305): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
04-24 15:53:32.776: E/AndroidRuntime(305): Uncaught handler: thread main exiting due to uncaught exception
04-24 15:53:32.786: E/AndroidRuntime(305): java.lang.NoClassDefFoundError: twitter4j.http.AccessToken
04-24 15:53:32.786: E/AndroidRuntime(305):  at com.twitterresim.TwitterOnay.isAuthenticated(TwitterOnay.java:18)
04-24 15:53:32.786: E/AndroidRuntime(305):  at com.twitterresim.TwitterPost.TwitterUpdate(TwitterPost.java:38)
04-24 15:53:32.786: E/AndroidRuntime(305):  at com.twitterresim.TwitterResimActivity$1.onClick(TwitterResimActivity.java:23)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.view.View.performClick(View.java:2364)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.view.View.onTouchEvent(View.java:4179)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.widget.TextView.onTouchEvent(TextView.java:6541)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.view.View.dispatchTouchEvent(View.java:3709)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
04-24 15:53:32.786: E/AndroidRuntime(305):  at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
04-24 15:53:32.786: E/AndroidRuntime(305):  at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
04-24 15:53:32.786: E/AndroidRuntime(305):  at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.os.Handler.dispatchMessage(Handler.java:99)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.os.Looper.loop(Looper.java:123)
04-24 15:53:32.786: E/AndroidRuntime(305):  at android.app.ActivityThread.main(ActivityThread.java:4363)
04-24 15:53:32.786: E/AndroidRuntime(305):  at java.lang.reflect.Method.invokeNative(Native Method)
04-24 15:53:32.786: E/AndroidRuntime(305):  at java.lang.reflect.Method.invoke(Method.java:521)
04-24 15:53:32.786: E/AndroidRuntime(305):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-24 15:53:32.786: E/AndroidRuntime(305):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-24 15:53:32.786: E/AndroidRuntime(305):  at dalvik.system.NativeStart.main(Native Method)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:44:06+00:00Added an answer on June 3, 2026 at 12:44 am

    try renaming the “lib” folder name to “libs”. That solved the issue for me, check here:
    https://github.com/ddewaele/AndroidTwitterSample/issues/2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm trying make simple app twitter and i use twitter4j library and i got
I'm trying to use the library jmathai/twitter-async to send tweets, but I get an
To make a primary button using Twitter's Bootstrap library , you need to use
I use twitter4j library to tweet but i cannot handle how to upload an
I want to post image to twitter on my app. I use twitter4j library
I have recently started to use Twitter Bootstrap and trying to understand how it
I'm struggling to use Twitter's Finagle library to implement an HTTP request to a
I use twitter4j to get my timeline like this: twitter.getHomeTimeline(new Paging(1,100)); How can I
I use twitter Bootstrap and encountered a problem with a Helvetica Neue font. My
I'm trying to use the twitter4j library to get a random sample from the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.