Support - Error cod data section too large
|
Last Updated: 18 April 2006
|
Article Number: DB-00085
|
|
Summary
This article applies to the BlackBerry® Java™ Development Environment (JDE).
|
Problem
You receive the following error:
cod data section too large
Cause
A class definition contains too many string literals.
Resolution
Instead of splitting up the project into libraries, associate some of the strings with other class definitions.
Refer to the following examples:
Original definition
public class A { String foo() { return "abcdefg"; }
String bar() { return "hijklmn"; } }
Modified definitions
class S1 { final static string FOO = "abcdefg"; }
class S2 { final static string BAR = "hijklmn"; }
public class A { String foo() { return S2.FOO; }
String bar() { return S2.BAR; } }
Thus, the string definitions are associated with separate classes, which the RAPC compiler (rapc.exe) can distribute amongst the siblings.
|
|
Keywords
data, section, too, large, strings
|
分享到:
相关推荐
android-support-v4-v7-v13-v14-v17(官方最新完整版),官方最新版的,压缩包内包含android-support-v4、android-support-v7-appcompat,android-support-v7-cardview,android-support-v7-gridlayout,android-support-...
内容包含:android-support-v4_1.6.0_26_20120316.jar android-support-v4_1.6.0_26_20120623.jar android-support-v4_1.6.0_26_20120730.jar android-support-v4_1.6.0_26_20121109.jar android-support-v4_1.6.0_26...
最新android-support-v4 .jar,android-support-annotations.jar
android-support-v13.jar android-support-v7-gridlayout.jar android-support-v7-appcompat.jar android-support-v4.jar
android-support-v7-appcompat,使用Eclipse但是没有自动创建的同学,可以拿来用一下。
support-v4-28.0.0.aar,用于Android开发使用的V4库,版本28,方便开发。
1、android-support-v4.jar,android-support-v7-appcompat.jar,非常实用的jar文件,不可缺少,兼容Android 对应版本,包中包含类许多我们可以调用的,如widget、view、util等等。 2、导入Unity或者Android Studio...
赠送jar包:spring-context-support-1.0.10.jar; 赠送原API文档:spring-context-support-1.0.10-javadoc.jar; 赠送源代码:spring-context-support-1.0.10-sources.jar; 赠送Maven依赖信息文件:spring-context-...
IAR for stm8 debugger-support-files 解决问题===> An error occurred while retrieving GDI features: gdi-error [40201]: Can't access configuration database
android-support-v7-appcompat.jar和android-support-v4.jar包
UnitySetup-Windows-Support-for-Editor-5.3.8f2.exe 下载
android-support-v4.jar support-v13.jar support-v7-gridlayout.jar 全架包
android-support-v7-appcompat.jar android-support-v4.jar DrawerLayout
android-support support-v4.jar appcompat-v7.jar 26 27 28三个版本
UnitySetup-Android-Support-for-Editor-5.3.5f1UnitySetup-Android-Support-for-Editor-5.3.5f1UnitySetup-Android-Support-for-Editor-5.3.5f1UnitySetup-Android-Support-for-Editor-5.3.5f1
android-support-v4.jar.zip
android-support-v7和android-support-v7-recyclerview的classes.jar
android-support-v7-recyclerview.jar.zip