项目源码导入Eclipse中出现问题

张小神 发布于 2016/01/06 10:43
阅读 285
收藏 0
01-06 09:14:38.640: E/dalvikvm(17655): Could not find class 'com.ahedy.app.act.ui.GuideActivity', referenced from method com.ahedy.app.act.ui.Splash.onCreate


GuideActivity为自定义Activity,项目为上线项目,最近在迭代开发,但是导入Eclipse中报错

01-06 09:18:19.345: E/AndroidRuntime(17655): FATAL EXCEPTION: main
01-06 09:18:19.345: E/AndroidRuntime(17655): Process: com.rongtuojinrong.app, PID: 17655
01-06 09:18:19.345: E/AndroidRuntime(17655): java.lang.NoClassDefFoundError: com.ahedy.app.act.ui.GuideActivity
01-06 09:18:19.345: E/AndroidRuntime(17655): at com.ahedy.app.act.ui.Splash.onCreate(Splash.java:46)
01-06 09:18:19.345: E/AndroidRuntime(17655): at android.app.Activity.performCreate(Activity.java:5285)
01-06 09:18:19.345: E/AndroidRuntime(17655): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
01-06 09:18:19.345: E/AndroidRuntime(17655): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2259)
01-06 09:18:19.345: E/AndroidRuntime(17655): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2345)
01-06 09:18:19.345: E/AndroidRuntime(17655): at android.app.ActivityThread.access$1100(ActivityThread.java:139)
01-06 09:18:19.345: E/AndroidRuntime(17655): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
01-06 09:18:19.345: E/AndroidRuntime(17655): at android.os.Handler.dispatchMessage(Handler.java:102)
01-06 09:18:19.345: E/AndroidRuntime(17655): at android.os.Looper.loop(Looper.java:136)
01-06 09:18:19.345: E/AndroidRuntime(17655): at android.app.ActivityThread.main(ActivityThread.java:5314)
01-06 09:18:19.345: E/AndroidRuntime(17655): at java.lang.reflect.Method.invokeNative(Native Method)
01-06 09:18:19.345: E/AndroidRuntime(17655): at java.lang.reflect.Method.invoke(Method.java:515)
01-06 09:18:19.345: E/AndroidRuntime(17655): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
01-06 09:18:19.345: E/AndroidRuntime(17655): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:680)
01-06 09:18:19.345: E/AndroidRuntime(17655): at dalvik.system.NativeStart.main(Native Method)


加载中
0
HeartArea
HeartArea

先设置一下 classpath啊,把android的依赖包什么加进去,还有就是选择一下jdk

张小神
谢谢,问题解决
0
陆小七的主页
陆小七的主页
java.lang.NoClassDefFoundError,明显缺包。
张小神
这是项目源码
返回顶部
顶部