blackberry “error file is not a valid java code file”

十年热恋 提交于 2020-01-16 18:58:10

问题


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 main class name is not mentioned in your build script, or if no setting 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... :(


回答1:


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

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



来源:https://stackoverflow.com/questions/12212481/blackberry-error-file-is-not-a-valid-java-code-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!