首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用proguard时,警告:在类javax.microedition.lcdui.List中找不到引用的方法'void deleteAll()‘

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

Stack Overflow用户
提问于 2013-05-30 10:50:21
回答 1查看 353关注 0票数 1

大家:我开发了一个项目,它在j2me platform.When中运行,我使用proguard,它警告我下面的事情,有人可以帮助我吗?

代码语言:javascript
复制
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.

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

EN

回答 1

Stack Overflow用户

发布于 2013-05-30 20:24:37

在MIDP2.0中增加了deleteAll方法。请确保使用此版本或更高版本。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16827190

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档