- 浏览: 335378 次
- 性别:
- 来自: 安徽
文章分类
最新评论
-
secally:
楼主可以上传个例子吗,谢谢,我咋跑不起来,,eclipse不是 ...
Android自动打包、签名、优化、上传ANT脚本 -
secally:
请问下执行命令是啥,ant release 还是?麻烦指教谢谢 ...
Android自动打包、签名、优化、上传ANT脚本 -
trp1022:
好牛啊
程序员不能不通文史 -
sunny78117:
谢谢,写得好
Android bitmap优化 -
futurebp:
这是什么类型的脚本啊?
Android自动打包、签名、优化、上传ANT脚本
BlackBerry 出现 Module xxx' has verification error 问题解决办法
- 博客分类:
- BlackBerry
如果是MIDLET请看官方的解释:
我使用的不是MIDLET同样出现了问题,
http://supportforums.blackberry.com/t5/Java-Development/verification-error-1756/td-p/125387
那么引起verification error的原因是使用了XXX.class代码,
比如:
EventManager.registerListener(new EventTypeFilter(this, new Class[]{ myEventObject.class }));
上面的代码就不行,虽然RIM API说支持,但依然出现了问题,改写成下面的:
EventManager.registerListener(new EventTypeFilter(this, new Class[]{ new myEventObject().getClass() }));
就可以了。
另外还有其他的的原因,我从CSDN转来的,保存一下吧。
http://blog.csdn.net/wang_shaner/archive/2011/01/17/6145963.aspx
When developing Java applications for the BlackBerry smartphone, you may encounter any of the following verification errors or errors similar to the following: These errors often occur when creating MIDlets. They are inherently hard to debug because the same error message can apply to a number of problems. The following is a list of possible solutions to prevent or correct verification errors: Class1 class1= new Class1(Class2.class.getName()); To work around this issue, do not make the class call within a constructor as shown in the following example: Class1 class1; public class MyOuterClass { There are a few ways you can remove these references, such as creating javac.exe -source 1.3 -target 1.1
一般情况下将引用的jar包从build path里面remove,然后再重新add就可以了。System.out.*
calls. These generally do nothing on the BlackBerry smartphone, but they might cause verification errors.import
statements.public
, private
, or protected
.public
.javax.microedition.rms.RecordStore
class is compiled using BlackBerry® Java® Development Environment (BlackBerry JDE) earlier than version 4.0. This occurs if the application uses either the addRecordListener
or removeRecordListener
methods of the RecordStore
class. To resolve this issue, recompile the application using BlackBerry JDE 4.0 or later.
String className = Class2.class.getName();
Class1 = new Class1(className);
static int var;
class MyInnerClass {
public void doSomething() {
var = 7;
}
}
}get/set
methods for var
in the outer class or modifying the logic to pull MyInnerClass
out of MyOuterClass
.javac
command, and then runs preverify.exe file and then RAPC. Add the following command line arguments to javac
to help avoid issues in earlier versions of the RAPC:
发表评论
-
Linux Server 处理BlackBerry签名问题
2011-07-06 20:34 1250BlackBerry需要图形界面才能够进行,一般Li ... -
BlackBerry自动编译、签名、发布Ant脚本
2010-07-23 12:28 1413版权所有,欢迎转载,转载请注明 : SinFrancis h ... -
BlackBerry 打开其他应用程序
2010-05-26 16:30 1210一般情况下在BB上要在当前程序打开其他的应用程序,需要使用 n ... -
BlackBerry Eclipse plugin 1.1 下载地址及安装
2010-05-25 11:13 1144RIM发布了最新的开发环境BB for Eclipse 1.1 ... -
BB创建透明的Bitmap
2010-02-20 20:12 1750版权所有,欢迎转载,转载请注明 : SinFrancis ... -
定制BlackBerry上面的Slider Bar (原创)
2010-01-26 17:32 1204版权所有,欢迎转载,转载请注明 : SinFrancis h ... -
定制含有CheckBox的ListField (BlackBerry)
2010-01-20 22:29 1476版权所有,欢迎转载,转载请注明 : SinFrancis h ... -
BlackBerry中的I18N ( 国际化)
2009-12-11 14:36 1460版权所有,转载请注 ... -
汉化你的BB 模拟器
2009-12-11 14:04 1496版权所有,转载请注明来自: http://mdev.cc Si ... -
BlackBerry按键捕捉分析
2009-12-09 17:12 1427版权所有,转载请注明来自 : http://mdev.cc S ... -
BlackBerry定制自己喜爱的List Field
2009-11-02 10:43 1231BB上面提供可继承的ListField类,我们可以直接继承此类 ... -
Remove all default menu in bb
2009-10-10 13:36 716see this page :http://www.black ... -
让你的Popubscreen显示菜单
2009-10-10 13:35 1023以下内容Sinfrancis版权所有,专注请注明来自 htt ... -
将Bitmap转换成为PNG图片数组
2009-10-10 13:33 4416import java.io.ByteArrayOutputS ... -
BlackBerry 设置view的背景透明
2009-10-10 13:32 1113以下内容Sinfrancis版权所有,专注请注明来自 h ... -
Bitmap转换成为byte数组
2009-10-10 13:32 4367以下内容Sinfrancis版权所有,专注请注明来自 htt ... -
BB横竖屏判断
2009-10-10 13:31 923以下内容Sinfrancis版权所有,专注请注明来自 htt ...
相关推荐
VERIFICATION BY ERROR MODELING
主要介绍了Jenkins Host key verification failed问题解决,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
jenkins发版报错Host key verification failed. jenkins发版报错Host key verification failed. jenkins发版报错Host key verification failed. jenkins发版报错Host key verification failed. jenkins发版报错Host ...
verification with c++
system_verification_using_soundcheck
新页面叫Verification.html,在头部新加了一个链接入口。banner也改了一下。你看看
Hardware Design Verification Simulation
SystemVerilog For Verification 2nd
ANSYS Workbench Verification Manual
ANSYS Mechanical APDL Verification Manual
writting testbench verification plan,下载前请注意,自己翻译的,英语水平一般啊。
Basic of Layout Verification
System Verilog for Verification
关于verification plan的认识,如何写的总结,尚不完善,以后有空补充更新。
formal verification in english
实现:6位随机字符串,包括数字、大小写字母,颜色随机;随机干扰线条和小圆点;...判断验证码输入是否正确;区分字母大小写(感兴趣的可以加上不区分的功能)。可以加公众号【几行简码】(ID:few_codes)免费下载。
Cluster Verification Utility (CVU) 是一个随 Oracle Grid Infrastructure/Oracle Clusterware 发布的实用程序。开发此实用程序是为了帮助进行 Oracle Clusterware 和 Oracle Real Application Clusters (RAC) 的...
Open Verification Methodology Cookbook,OVM开发手册。
Standardized Functional Verification
toward the verification of persive systems. you can find this paper is on a project supervisized by professor Mark Ryan atl. It is on the issue of verification of protocols.