问题
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