2014-07-15 95 views
0

我一直試圖解決quickblox聊天示例中的這個錯誤,但沒有弄明白。Quickblox示例錯誤

06-18 17:42:32.171: E/AndroidRuntime(17161): FATAL EXCEPTION: main 
06-18 17:42:32.171: E/AndroidRuntime(17161): java.lang.RuntimeException: Unableto  instantiate activity ComponentInfo{com.quickblox.sample.chat/com.quickblox.sample.chat.ui.activities.SplashActivity}: java.lang.ClassNotFoundException: Didn't find class "com.quickblox.sample.chat.ui.activities.SplashActivity" on path: /data/app/com.quickblox.sample.chat-1.apk 
06-18 17:42:32.171: E/AndroidRuntime(17161): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2171) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2295) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at android.app.ActivityThread.access$700(ActivityThread.java:150) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at android.os.Handler.dispatchMessage(Handler.java:99) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at android.os.Looper.loop(Looper.java:137) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at android.app.ActivityThread.main(ActivityThread.java:5279) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at java.lang.reflect.Method.invokeNative(Native Method) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at java.lang.reflect.Method.invoke(Method.java:511) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at dalvik.system.NativeStart.main(Native Method) 
06-18 17:42:32.171: E/AndroidRuntime(17161): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.quickblox.sample.chat.ui.activities.SplashActivity" on path: /data/app/com.quickblox.sample.chat-1.apk 
06-18 17:42:32.171: E/AndroidRuntime(17161): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at android.app.Instrumentation.newActivity(Instrumentation.java:1071) 
06-18 17:42:32.171: E/AndroidRuntime(17161): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2162) 
06-18 17:42:32.171: E/AndroidRuntime(17161): ... 11 more 
+0

閱讀此鏈接並回答我得到了一些相同的東西然後http://stackoverflow.com/questions/28719297/quickblox-chat-in-android-androidruntime-java-lang-noclassdeffounderror-com-qui – Amitsharma

回答