.cod data section to the big when starting a Blackberry web browser project

I created a Blackberry Webworks project using jQuery mobile and phonegap. When I go to create a project, I get the error message "I / O error: output error: Solution is ###. Track data section is in large 65152 bytes".

I get the impression that when creating a webworks project, images and resources are used, namely, what causes this error? I looked through and made all my images smaller than 65 KB, and now the only things bigger than 65 KB are my jquery.js, jqueryMobile.js and index.html files.

I'm a little confused about what I can do to fix this error or figure out which solution is 97.cod?

Thanks in advance.

+4
source share
1 answer

The error you get is related to the size of the created .cod file. Each of these files cannot be larger than 64 KB. I did not work with webworks, I encode applications using eclipse and this splits the final application into several .cod files less than 64KB.

Since you mentioned that it gets up to "solution-97.cod", I assume that it exports at least as many track files, i.e. approximately 6.2 MB of data. I found that any application for approx. 3Mb, as a rule, gives problems and errors when creating a cod file.

If possible, try reducing the size of your resources (for example, convert png to jpg, if possible).

There is a discussion (and links to other topics of a similar nature) on the BlackBerry developer forums: http://supportforums.blackberry.com/t5/Java-Development/cod-data-section-too-large-65222/td-p/410066

+5
source

Source: https://habr.com/ru/post/1380258/


All Articles