运行具体错误日志显示
05-16 11:27:42.806: I/dalvikvm(2719): Failed resolving Lcom/sihuatech/wasutv/ui/LoginActivity; interface 195 'Lcom/onewaveinc/softclient/engine/util/http/ProcessNoticeInterface;'
05-16 11:27:42.816: W/dalvikvm(2719): Link of class 'Lcom/sihuatech/wasutv/ui/LoginActivity;' failed
05-16 11:27:42.816: D/AndroidRuntime(2719): Shutting down VM
05-16 11:27:42.816: W/dalvikvm(2719): threadid=1: thread exiting with uncaught exception (group=0x4001d8a8)
05-16 11:27:42.816: E/AndroidRuntime(2719): FATAL EXCEPTION: main
05-16 11:27:42.816: E/AndroidRuntime(2719): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.sihuatech.wasutv/com.sihuatech.wasutv.ui.LoginActivity}: java.lang.ClassNotFoundException: com.sihuatech.wasutv.ui.LoginActivity in loader dalvik.system.PathClassLoader[/data/app/com.sihuatech.wasutv-2.apk]
05-16 11:27:42.816: E/AndroidRuntime(2719): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)
05-16 11:27:42.816: E/AndroidRuntime(2719): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
05-16 11:27:42.816: E/AndroidRuntime(2719): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
05-16 11:27:42.816: E/AndroidRuntime(2719): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
05-16 11:27:42.816: E/AndroidRuntime(2719): at android.os.Handler.dispatchMessage(Handler.java:99)
05-16 11:27:42.816: E/AndroidRuntime(2719): at android.os.Looper.loop(Looper.java:123)
05-16 11:27:42.816: E/AndroidRuntime(2719): at android.app.ActivityThread.main(ActivityThread.java:4627)
05-16 11:27:42.816: E/AndroidRuntime(2719): at java.lang.reflect.Method.invokeNative(Native Method)
05-16 11:27:42.816: E/AndroidRuntime(2719): at java.lang.reflect.Method.invoke(Method.java:521)
05-16 11:27:42.816: E/AndroidRuntime(2719): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
05-16 11:27:42.816: E/AndroidRuntime(2719): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
05-16 11:27:42.816: E/AndroidRuntime(2719): at dalvik.system.NativeStart.main(Native Method)
05-16 11:27:42.816: E/AndroidRuntime(2719): Caused by: java.lang.ClassNotFoundException: com.sihuatech.wasutv.ui.LoginActivity in loader dalvik.system.PathClassLoader[/data/app/com.sihuatech.wasutv-2.apk]
05-16 11:27:42.816: E/AndroidRuntime(2719): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
05-16 11:27:42.816: E/AndroidRuntime(2719): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
05-16 11:27:42.816: E/AndroidRuntime(2719): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
05-16 11:27:42.816: E/AndroidRuntime(2719): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
05-16 11:27:42.816: E/AndroidRuntime(2719): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
05-16 11:27:42.816: E/AndroidRuntime(2719): ... 11 more
就是在link of class的时候找不到相应的类,我查过manitest配置没有问题,环境设置也没什么问题,其他的工程导入都可以正常运行,唯独这个工程运行报错,各位看看可能是哪里的错误,我已经山穷水尽了...
give me advice,thanks!
------解决方案--------------------
有com.sihuatech.wasutv.ui.LoginActivity类么,在manifest中注册了么?
------解决方案--------------------
Caused by: java.lang.ClassNotFoundException: com.sihuatech.wasutv.ui.LoginActivity in loader dalvik.system.PathClassLoader[/data/app/com.sihuatech.wasutv-2.apk]
检查下在manifest注册了没有
------解决方案--------------------
请查看AndroidManifest.xml文件。
------解决方案--------------------
你的继续了其他的Activity?