关于错误:ALERT: Bad class access flags
我在项目中定义了一个接口:
public interface TestInterface
{
public void interfaceMethod();
}
然后让MIDlet实现这个interface
public class TestMIDlet extends MIDlet implements TestInterface
{
public void startApp()
{
interfaceMethod();
}
public void pauseApp()
{
}
public void destroyApp(boolean unconditional)
{
}
public static void quitApp()
{}
public void interfaceMethod()
{
System.out.println(" it is the interface method;");
}
}
编译通过后在模拟器上运行时出现错误
ALERT: Bad class access flags
然后模拟器自动退出了.
我用的是JBuilder7+ Mobileset3.01
请各位大侠不吝赐教. 不胜感激!