Topic: 用ecalipse做jad时遇到的问题 |
Print this page |
1.用ecalipse做jad时遇到的问题 | Copy to clipboard |
Posted by: boynick_1 Posted on: 2004-12-16 15:05 我在ecalipse中写了一个MIDlet,用ecalipse运行没问题,在保存的文件夹里生成了很多文件,其中有个jad文件,但是双击的时候就无法运行,我装了WTK了,于是,我用cmd做了个jar文件,也能调出手机的界面了,但选择Lanuch的时候,出现了以下的信息: Running with storage root DefaultColorPhone Error verifying method MIDGame commandAction(Ljavax/microedition/lcdui/Command;Ljavax/microedition/lcdui/DisplayableV Approximate bytecode offset 5: Inconsistent or missing stackmap at target Method............: 100d2980 'com/sun/midp/midlet/MIDletState.createMIDlet (static)' Stack Chunk.......: df0094 Frame Pointer.....: df00f0 Current IP........: 10126161 = 10126153 + offset 14 Previous Frame....: df00b4 Previous IP.......: 1011e41f (offset 22) Frame size........: 8 (1 arguments, 7 local variables) Argument[0].......: df086c Local[1]..........: 0 Local[2]..........: e58990 Local[3]..........: df2164 Local[4]..........: e589a4 Local[5]..........: 100dca28 Local[6]..........: e58970 Local[7]..........: 1015c1d8 Operand[1]........: e69a08 Method............: 100cd17c 'com/sun/midp/midlet/Selector.run (virtual)' Stack Chunk.......: df0094 Frame Pointer.....: df00b4 Current IP........: 1011e41f = 1011e409 + offset 22 Previous Frame....: 0 Previous IP.......: 1 Frame size........: 6 (1 arguments, 5 local variables) Argument[0].......: df09cc Local[1]..........: df2290 Local[2]..........: df086c Local[3]..........: 0 Local[4]..........: 0 Local[5]..........: 0 Operand[1]........: df2290 VM status: Instruction pointer.: 10126161 (offset within invoking method: 14) Next instruction....: 0x4c Frame pointer.......: df00f0 Local pointer.......: df00d0 Stack size..........: 128; sp: df0108; ranges: df009c-df029c; Contents of the current stack frame: df00d0: df086c (lp) df00d4: 0 df00d8: e58990 df00dc: df2164 df00e0: e589a4 df00e4: 100dca28 df00e8: e58970 df00ec: 1015c1d8 df00f0: df00b4 (fp) df00f4: 1011e41f df00f8: df00cc df00fc: 100d2980 df0100: df0094 df0104: 0 (end of frame) df0108: e69a08 (sp) Execution stack contains 112 items: df09cc df2290 df086c 0 0 0 0 1 e58974 100cd17c df0094 0 df2290 df086c 0 e58990 df2164 e589a4 100dca28 e58970 1015c1d8 df00b4 1011e41f df00cc 100d2980 df0094 0 e69a08 Execution completed. 436216 bytecodes executed 11 thread switches 488 classes in the system (including system classes) 2538 dynamic objects allocated (79780 bytes) 3 garbage collections (65764 bytes collected) Execution completed. 436216 bytecodes executed 11 thread switches 488 classes in the system (including system classes) 2538 dynamic objects allocated (79780 bytes) 3 garbage collections (65764 bytes collected) ALERT: java/lang/VerifyError: MIDGame. 这是为什么啊??请教各位大虾!!!!!多谢!!! |
2.Re:用ecalipse做jad时遇到的问题 [Re: boynick_1] | Copy to clipboard |
Posted by: caike Posted on: 2004-12-16 17:05 你装了eclipseme插件了吗? |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |