[Android] ava.lang.NoClassDefFoundError: com.twitter.sdk.android.core.TwitterAuthConfig

android

#1

I have a problem with fabric, who can help me?

Could not find class ‘com.twitter.sdk.android.core.TwitterAuthConfig’, referenced from method ****
java.lang.NoClassDefFoundError: com.twitter.sdk.android.core.TwitterAuthConfig

but I have the twitter library in project


#2

07-22 15:37:57.901: E/AndroidRuntime(17671): FATAL EXCEPTION: main
07-22 15:37:57.901: E/AndroidRuntime(17671): java.lang.NoClassDefFoundError: com.twitter.sdk.android.core.TwitterAuthConfig
07-22 15:37:57.901: E/AndroidRuntime(17671): at org.cocos2dx.javascript.AppActivity.onCreate(AppActivity.java:220)
07-22 15:37:57.901: E/AndroidRuntime(17671): at android.app.Activity.performCreate(Activity.java:5104)
07-22 15:37:57.901: E/AndroidRuntime(17671): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1092)
07-22 15:37:57.901: E/AndroidRuntime(17671): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
07-22 15:37:57.901: E/AndroidRuntime(17671): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2254)
07-22 15:37:57.901: E/AndroidRuntime(17671): at android.app.ActivityThread.access$600(ActivityThread.java:141)
07-22 15:37:57.901: E/AndroidRuntime(17671): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
07-22 15:37:57.901: E/AndroidRuntime(17671): at android.os.Handler.dispatchMessage(Handler.java:99)
07-22 15:37:57.901: E/AndroidRuntime(17671): at android.os.Looper.loop(Looper.java:137)
07-22 15:37:57.901: E/AndroidRuntime(17671): at android.app.ActivityThread.main(ActivityThread.java:5069)
07-22 15:37:57.901: E/AndroidRuntime(17671): at java.lang.reflect.Method.invokeNative(Native Method)
07-22 15:37:57.901: E/AndroidRuntime(17671): at java.lang.reflect.Method.invoke(Method.java:511)
07-22 15:37:57.901: E/AndroidRuntime(17671): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
07-22 15:37:57.901: E/AndroidRuntime(17671): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
07-22 15:37:57.901: E/AndroidRuntime(17671): at dalvik.system.NativeStart.main(Native Method)


#3

did you solve it? I’m having the same issue.


#4

Do you have both Twitter and TwitterCore installed?

-Mike


#5