BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 09-03-2009, 04:23 PM   #1 (permalink)
New Member
Join Date: Jun 2009
Model: 8310
Carrier: ATT
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Error in installing multiple cod OTA–Pls help

Please Login to Remove!


I am trying to install my application Over The Air. I have 1 project in my JDE (4.2.1) but seems cod file size is large. My appln JAD file, which is getting generated after building my project, is having reference to 3 cod files. (ABC-2.cod, ABC-1.cod & ABC.cod)

But when I extract my cod file using winzip it is giving me only 2 cod files (ABC-1.cod & ABC.cod). I tried to extract child cod files thinking they might have another inside them but did not get anything.

When I try to install on device OTA it says ABC-2.cod is missing.

I would really appreciate if someone can help me out.

JAD file sample:

Manifest-Version: 1.0
MIDlet-Version: 1.0
MIDlet-Jar-Size: 348284
RIM-COD-URL-2: ABC-2.cod
MicroEdition-Configuration: CLDC-1.1
MIDlet-Jar-URL: BBOPR.jar
RIM-COD-Module-Dependencies: net_rim_cldc, net_rim_bbapi_invoke, net_rim_xml,net_rim_bb_framework_api,net_rim_bbapi _mailv2
RIM-COD-URL-1: ABC-1.cod
RIM-COD-SHA1-2: 91 dd af 55 54 7a 44 15 e7 15 5d f7 20 d7 bc 4f 24 16 fa 9a
RIM-COD-SHA1-1: 1f 48 f4 86 80 4c 29 a6 6d 8b df d9 a8 93 58 2c b8 24 ad 90
RIM-COD-Size-2: 49336
RIM-MIDlet-Flags-1: 0
RIM-COD-Module-Name: ABC
RIM-COD-Size-1: 67196
RIM-COD-Size: 82348
MIDlet-Name: BBOPR
RIM-COD-Creation-Time: 1251996225

Old 09-03-2009, 07:29 PM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

Mot likely, your app needed 3 cod files at one time. Unfortunately, the RAPC compiler does not always remove things like un-needed references.

Before doing you do your "production" build, always remove the compiler artifacts like the JAD file. Then the JAD will be regenerated from scratch and will be correct.

Copyright © 2004-2016
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.