黑莓"错误的文件不是有效的Java code文件" [英] blackberry "error file is not a valid java code file"

查看:482
本文介绍了黑莓"错误的文件不是有效的Java code文件"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里,我已经创建了一个应用程序,我需要运行在设备应用程序,但使用javaloader,但它显示黑莓错误文件不是有效的Java code文件。

Here I have created an app, and I need to run app in device but using javaloader but it shows blackberry error file is not a valid java code file.

我还发现在许多网站的结果,但没有更多的成功。

I also found result on many sites but no more success.

下面是其他网站的回复是

Here is other sites reply is

1.Either主类名是不是在你的构建脚本所提到的,如果没有settign是构建文件present,然后主类(UIApplication的)名字是不是一样的COD文件名。
2.与构建完成的JDE版本和设备版本的操作系统不兼容。

1.Either main class name is not mentioned in your build script, or if no settign is present in build file, then the main class(UiApplication) name is not same as the cod file name. 2. The JDE version with which the build is done and the device OS version are not compatible.

两件事我没有成功...:(

Both things I do no success... :(

请帮帮我!

谢谢advacne!

推荐答案

有<一个href=\"http://supportforums.blackberry.com/t5/Testing-and-Deployment/The-maximum-size-of-a-BlackBerry-smartphone-application/ta-p/1300209\"相对=nofollow>鳕文件大小和兄弟cod文件的数量已声明额度。而你的应用程序要达到此限制。

There is a declared limit for cod file size and qty of sibling cod files. And your application is going to reach this limit.

分割你的大应用程序项目依赖于那些一个或多个库类型项目和1个应用类型项目库项目。

Split your big application project to one or more library type projects and one application type project that depends on those library projects.

这篇关于黑莓&QUOT;错误的文件不是有效的Java code文件&QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆