当使用proguard时,警告:在类javax.microedition.lcdui.List中找不到引用的方法'void deleteAll()'

时间:2013-05-30 02:50:21

标签: java-me proguard

每个人: 我开发了一个在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.

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

1 个答案:

答案 0 :(得分:0)

在MIDP 2.0中添加了

deleteAll方法。请务必使用此版本或更高版本。