0

由于我不会让您感到厌烦的原因,我必须更换开发计算机,而且对于我的一生,我无法让我的项目在第二台机器上工作。

我有一个库,它是一个 .jar 文件,两台机器都可以访问。但是程序在机器 A 上运行良好,但在机器 BI 上得到以下错误。起初我想检查清单,但是,完全相同的项目在机器 A 上运行良好。所以它一定是我在 B 上的开发环境有问题。对吗?我想不出它可能是什么。我在 B 上的 api 比 A 多。

04-10 20:21:50.826: W/dalvikvm(1487): Unable to resolve superclass of          Lcom/webs/thefineanimationemporium/BoxingTmcthreeActivity; (117)
04-10 20:21:50.826: W/dalvikvm(1487): Link of class  'Lcom/webs/thefineanimationemporium/BoxingTmcthreeActivity;' failed
04-10 20:21:50.826: D/AndroidRuntime(1487): Shutting down VM
04-10 20:21:50.826: W/dalvikvm(1487): threadid=1: thread exiting with uncaught      exception (group=0x2aac8578)
04-10 20:21:50.856: E/AndroidRuntime(1487): FATAL EXCEPTION: main
04-10 20:21:50.856: E/AndroidRuntime(1487): java.lang.RuntimeException: Unable to instantiate activity     ComponentInfo{com.webs.thefineanimationemporium/com.webs.thefineanimationemporium.BoxingTmc threeActivity}: java.lang.ClassNotFoundException: com.webs.thefineanimationemporium.BoxingTmcthreeActivity in loader dalvik.system.PathClassLoader[/data/app/com.webs.thefineanimationemporium-1.apk]
04-10 20:21:50.856: E/AndroidRuntime(1487):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1581)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1675)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at android.app.ActivityThread.access$1500(ActivityThread.java:121)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at android.os.Handler.dispatchMessage(Handler.java:99)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at android.os.Looper.loop(Looper.java:138)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at  android.app.ActivityThread.main(ActivityThread.java:3701)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at java.lang.reflect.Method.invokeNative(Native Method)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at java.lang.reflect.Method.invoke(Method.java:507)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
04-10 20:21:50.856: E/AndroidRuntime(1487):     at dalvik.system.NativeStart.main(Native Method)
04-10 20:21:50.856: E/AndroidRuntime(1487): Caused by: java.lang.ClassNotFoundException: com.webs.thefineanimationemporium.BoxingTmcthreeActivity in loader dalvik.system.PathClassLoader[/data/app/com.webs.thefineanimationemporium-1.apk]
 04-10 20:21:50.856: E/AndroidRuntime(1487):    at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
 04-10 20:21:50.856: E/AndroidRuntime(1487):    at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
 04-10 20:21:50.856: E/AndroidRuntime(1487):    at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
 04-10 20:21:50.856: E/AndroidRuntime(1487):    at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
 04-10 20:21:50.856: E/AndroidRuntime(1487):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1573)
 04-10 20:21:50.856: E/AndroidRuntime(1487):    ... 11 more
 04-10 20:21:55.216: I/Process(1487): Sending signal. PID: 1487 SIG: 9
4

1 回答 1

0

对我来说,在第二台设备上安装听起来像是一个狡猾的安装,因为找不到其中一个被调用的类。您是否尝试过重新安装?

编辑:很抱歉听起来像来自技术支持热线的人......

于 2012-04-10T19:49:03.777 回答