经proguard3.2混淆后无法运行,请指教
岳振 2005-02-19 12:29:52 我的jar包在使用progard3.2混淆后无法运行,错误如下:
Error verifying method b <init>()V
Error verifying class b
Approximate bytecode offset 9: Inconsistent or missing stackmap at target
以下是class b反编译后的内容:
import com.nokia.mid.ui.FullCanvas;
import javax.microedition.lcdui.Graphics;
class b extends FullCanvas
implements Runnable
{
public b()
{
c = false;
c();
break MISSING_BLOCK_LABEL_26;
Exception exception;
exception;
exception.printStackTrace();
return;
}
public void a()
{
a = new Thread(this);
a.start();
}
private void c()
throws Exception
{
b = new c("player00.png");
}
protected void keyPressed(int i)
{
switch(getGameAction(i))
{
case 2: // '\002'
b.c -= 15;
break;
case 5: // '\005'
b.c += 15;
break;
case 8: // '\b'
c = !c;
break;
}
if(c)
repaint();
else
repaint(b.c, b.d, b.e, b.a);
serviceRepaints();
}
protected void keyReleased(int i)
{
}
protected void paint(Graphics g)
{
g.setColor(0xffffff);
g.fillRect(0, 0, getWidth(), getHeight());
g.drawImage(b.b, b.c, b.d, 20);
}
public void run()
{
for(Thread thread = Thread.currentThread(); thread == a;);
}
public void b()
{
a = null;
}
private Thread a;
private c b;
private boolean c;
}