我正在处理一个使用 j2me 波兰语的项目,现在我收到一个错误,即使用默认 Jar 打包程序
creating JAD file [D:MobileDevelopmentrisingkarachi5_21_2012distBlackBerry-5.0-de_DE-risingkarachi.jad].
jdp: Reading template...
jdp: Collecting java classes from D:MobileDevelopmentrisingkarachi5_21_2012buildrealBlackBerry5.0de_DEsource...
jdp: Collecting resources from D:MobileDevelopmentrisingkarachi5_21_2012buildrealBlackBerry5.0de_DEresources...
jdp: Writing files to project D:MobileDevelopmentrisingkarachi5_21_2012buildrealBlackBerry5.0de_DEJ2ME_Polish_Beispiel.jdp...
jdp: Creating D:MobileDevelopmentrisingkarachi5_21_2012buildrealBlackBerry5.0de_DEJ2ME_Polish_Beispiel.jdp
JDP: Note: project is obfuscated, the generated JDP will not contain the necessary subproject for the imported files.
jdp: Creating D:MobileDevelopmentrisingkarachi5_21_2012buildrealBlackBerry5.0de_DEJ2ME_Polish_BeispielLIB.jdp
rapc: Converting jar to cod for device [BlackBerry/5.0]
rapc: Resolving
rapc: Optimizing
rapc: c: Error!: Data contribution too large: 435372
rapc-call: [java, -Xmx512m, -cp, C:Program Files (x86)Research In MotionBlackBerry JDE 5.0.0binrapc.jar, net.rim.tools.compiler.Compiler, import=C:Program Files (x86)Research In MotionBlackBerry JDE 5.0.0libnet_rim_api.jar, codename=BlackBerry-5.0-de_DE-risingkarachi, BlackBerry-5.0-de_DE-risingkarachi.rapc, BlackBerry-5.0-de_DE-risingkarachi.jar]
D:MobileDevelopmentrisingkarachi5_21_2012build.xml:99: rapc failed and returned 97
BUILD FAILED (total time: 13 seconds)
我已经在构建中使用了所有黑莓属性.xml并且我遵循了
http://www.enough.de/products/j2me-polish/documentation/platforms/blackberry/链接到创建黑莓版本,但仍未解决。
我的问题已解决,当您使用某些资源(例如类或图像超过 64kb)并且我的单个类为 296kb 时,就会发生此问题,所以我收到此错误,然后我将该类分成多个小类。
谢谢