> E/dalvikvm(374): Could not find class 'twitter4j.http.Accesstoken',referenced from method com.ecs.androID.sample.twitter.TwitterUtils.isAuthenticated>W/dalvikvm(374): VFY: unable to resolve new-instance 67 (Ltwitter4j/http/Accesstoken;) in Lcom/ecs/androID/sample/twitter/TwitterUtils;>D/dalvikvm(374): VFY: replacing opcode 0x22 at 0x0010>D/dalvikvm(374): VFY: dead code 0x0012-002f in Lcom/ecs/androID/sample/twitter/TwitterUtils;.isAuthenticated (LandroID/content/SharedPreferences;)Z>E/dalvikvm(374): Could not find class 'twitter4j.http.Accesstoken',referenced from method com.ecs.androID.sample.twitter.TwitterUtils.sendTweet>W/dalvikvm(374): VFY: unable to resolve new-instance 67 (Ltwitter4j/http/Accesstoken;) in Lcom/ecs/androID/sample/twitter/TwitterUtils;>D/dalvikvm(374): VFY: replacing opcode 0x22 at 0x0010>D/dalvikvm(374): VFY: dead code 0x0012-002b in Lcom/ecs/androID/sample/twitter/TwitterUtils;.sendTweet (LandroID/content/SharedPreferences;Ljava/lang/String;)V>D/AndroIDRuntime(374): Shutting down VM>W/dalvikvm(374): threadID=1: thread exiting with uncaught exception (group=0x40015560)>E/AndroIDRuntime(374): FATAL EXCEPTION: main>E/AndroIDRuntime(374): java.lang.NoClassDefFoundError: twitter4j.http.Accesstoken>E/AndroIDRuntime(374): at com.ecs.androID.sample.twitter.TwitterUtils.isAuthenticated(TwitterUtils.java:18)>E/AndroIDRuntime(374): at com.ecs.androID.sample.twitter.AndroIDTwitterSample.updateLoginStatus(AndroIDTwitterSample.java:72)>E/AndroIDRuntime(374): at com.ecs.androID.sample.twitter.AndroIDTwitterSample.onResume(AndroIDTwitterSample.java:68)>E/AndroIDRuntime(374): at androID.app.Instrumentation.callActivityOnResume(Instrumentation.java:1150)>E/AndroIDRuntime(374): at androID.app.Activity.performResume(Activity.java:3832)>E/AndroIDRuntime(374): at androID.app.ActivityThread.performResumeActivity(ActivityThread.java:2110)>E/AndroIDRuntime(374): at androID.app.ActivityThread.handleResumeActivity(ActivityThread.java:2135)>E/AndroIDRuntime(374): at androID.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1668)>E/AndroIDRuntime(374): at androID.app.ActivityThread.access00(ActivityThread.java:117)>E/AndroIDRuntime(374): at androID.app.ActivityThread$H.handleMessage(ActivityThread.java:931)>E/AndroIDRuntime(374): at androID.os.Handler.dispatchMessage(Handler.java:99)>E/AndroIDRuntime(374): at androID.os.Looper.loop(Looper.java:130)>E/AndroIDRuntime(374): at androID.app.ActivityThread.main(ActivityThread.java:3683)>E/AndroIDRuntime(374): at java.lang.reflect.Method.invokeNative(Native Method)>E/AndroIDRuntime(374): at java.lang.reflect.Method.invoke(Method.java:507)>E/AndroIDRuntime(374): at com.androID.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)>E/AndroIDRuntime(374): at com.androID.internal.os.ZygoteInit.main(ZygoteInit.java:597)>E/AndroIDRuntime(374): at dalvik.system.NativeStart.main(Native Method)
我不确定我是不是错了,在Constant.java中,我没有改变任何东西
public static final String REQUEST_URL = "https://API.twitter.com/oauth/request_token";public static final String ACCESS_URL = "https://API.twitter.com/oauth/access_token";public static final String AUTHORIZE_URL = "https://API.twitter.com/oauth/authorize";public static final String OAUTH_CALLBACK_SCHEME = "x-oauthflow-twitter";public static final String OAUTH_CALLBACK_HOST = "callback";public static final String OAUTH_CALLBACK_URL = OAUTH_CALLBACK_SCHEME + "://" + OAUTH_CALLBACK_HOST;
我尝试用“http://www.MyWebsite.com”更改“回调”
请指教我如何纠正这些问题.
请查看此Article以获取有关此主题的详细信息.
总结以上是内存溢出为你收集整理的twitter4j => AndroidRuntime(446):java.lang.NoClassDefFoundError:twitter4j.http.AccessToken全部内容,希望文章能够帮你解决twitter4j => AndroidRuntime(446):java.lang.NoClassDefFoundError:twitter4j.http.AccessToken所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)