Java me 使用proguard时,警告:can';找不到引用的方法';void deleteAll()';类内javax.microedition.lcdui.List

Java me 使用proguard时,警告:can';找不到引用的方法';void deleteAll()';类内javax.microedition.lcdui.List,java-me,proguard,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(

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

等待您的帮助,始终在线。

deleteAll
方法已添加到MIDP2.0。请务必使用此版本或更高版本。

谢谢您阅读我的问题,但我想告诉您我已经解决了此问题。请与大家分享。我一个一个地添加jar包,然后进行测试,所以我发现不能同时添加相同的包。就像下面的文件:cldcapi10.jar cldcapi11.jar只添加一个就可以了。还有像midpaI10.jar midpaI20.jar midpaI21.jar只添加最后一个就可以了,我的问题是这个原因,当我只添加最后一个时,测试就可以了,我很高兴。这一个正好适合这个问题,但是其他的你可以试试这个方法,但是也许可以奏效,祝你好运。