2012-06-01 39 views
0

我正在使用J2ME波蘭和現在我收到一個錯誤,即使用默認的Jar打包RAPC:C:錯誤!:數據貢獻太大J2ME拋光

creating JAD file [D:\MobileDevelopment\risingkarachi5_21_2012\dist\BlackBerry-5.0-de_DE-risingkarachi.jad]. 
jdp: Reading template... 
jdp: Collecting java classes from D:\MobileDevelopment\risingkarachi5_21_2012\build\real\BlackBerry\5.0\de_DE\source... 
jdp: Collecting resources from D:\MobileDevelopment\risingkarachi5_21_2012\build\real\BlackBerry\5.0\de_DE\resources... 
jdp: Writing files to project D:\MobileDevelopment\risingkarachi5_21_2012\build\real\BlackBerry\5.0\de_DE\J2ME_Polish_Beispiel.jdp... 
jdp: Creating D:\MobileDevelopment\risingkarachi5_21_2012\build\real\BlackBerry\5.0\de_DE\J2ME_Polish_Beispiel.jdp 
JDP: Note: project is obfuscated, the generated JDP will not contain the necessary subproject for the imported files. 
jdp: Creating D:\MobileDevelopment\risingkarachi5_21_2012\build\real\BlackBerry\5.0\de_DE\J2ME_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 Motion\BlackBerry JDE 5.0.0\bin\rapc.jar, net.rim.tools.compiler.Compiler, import=C:\Program Files (x86)\Research In Motion\BlackBerry JDE 5.0.0\lib\net_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:\MobileDevelopment\risingkarachi5_21_2012\build.xml:99: rapc failed and returned 97 
BUILD FAILED (total time: 13 seconds) 

我用所有BlackBerry項目在build.xml文件屬性和我按照

http://www.enough.de/products/j2me-polish/documentation/platforms/blackberry/鏈接創建BlackBerry建立,但還沒有解決。

回答

0

我的問題已經解決了,當你使用的是一些資源,如類或圖像出現此問題是更然後64KB和我的單班是296KB所以我收到此錯誤,然後我分了我的那個類分成多個小類別。

謝謝