1

大家:我开发了一个项目,在j2me平台上运行。当我使用proguard时,它警告我下面的事情,任何人都可以帮忙吗?

Initializing...
Warning: BtPrinterScreen: can't find referenced method 'void deleteAll()' in class javax.microedition.lcdui.List
Warning: BuyScreenNo: can't find referenced method 'void setTitle(java.lang.String)' in class javax.microedition.lcdui.Displayable
Warning: BuyScreenNo2: can't find referenced method 'void setTitle(java.lang.String)' in class javax.microedition.lcdui.Displayable
Warning: BuyScreenNo3: can't find referenced method 'void setTitle(java.lang.String)' in class javax.microedition.lcdui.Displayable
Warning: DecodeCanvas: can't find referenced method 'int getWidth()' in class javax.microedition.lcdui.Displayable
Warning: DecodeCanvas: can't find referenced method 'int getHeight()' in class javax.microedition.lcdui.Displayable
Warning: MenuScreen: can't find referenced method 'void deleteAll()' in class javax.microedition.lcdui.List
Warning: MenuScreen: can't find referenced method 'boolean platformRequest(java.lang.String)' in class javax.microedition.midlet.MIDlet
Warning: ResultScreen: can't find referenced method 'void setFont(javax.microedition.lcdui.Font)' in class javax.microedition.lcdui.StringItem
Warning: ResultScreen2: can't find referenced method 'void setFont(javax.microedition.lcdui.Font)' in class javax.microedition.lcdui.StringItem
Warning: there were 10 unresolved references to program class members.

等待您的帮助,永远在线。

4

1 回答 1

0

deleteAll在 MIDP 2.0 中添加了方法。请务必使用此版本或更高版本。

于 2013-05-30T12:24:37.343 回答