Blackberry Package project issue -1.debug -


i'm using blackberry_jde_pluginfull_1.1.2.201003212304-12 (bb 5 so).

when rich click project -> blackberry -> package project its, generates files on deliverable folder. files 1 u use put app on web client can download app , install on blackberry.

now i'm facing problem, times, create file prevent me install app on bb. file projectname-1.debug.

what making error why here. don't know why happening.

my code works fine:

public void agendar(){     string msg = "asdasd";           boolean seguir = true;     if(_cedula.gettext() == null){         seguir = false;     }     if(seguir && _fechanac.getdate() < 1){         seguir = false;     }     if(seguir && _tel.gettext() == null){         seguir = false;     }     if(seguir && _pnombre.gettext() == null ){         seguir = false;     }     if(seguir && _papellido.gettext() != null){         seguir = false;     }     int = dialog.ask(dialog.d_ok, msg); } 

same code 1 line makes "error":

public void agendar(){     string msg = "asdasd";           boolean seguir = true;     if(_cedula.gettext() == null){         seguir = false;         msg = " xxx ";     }     if(seguir && _fechanac.getdate() < 1){         seguir = false;     }     if(seguir && _tel.gettext() == null){         seguir = false;     }     if(seguir && _pnombre.gettext() == null ){         seguir = false;     }     if(seguir && _papellido.gettext() != null){         seguir = false;     }     int = dialog.ask(dialog.d_ok, msg); } 

the difference line msg = " xxx ".

the components im using basiceditfield , 1 datefield.

also if add

int = dialog.ask(dialog.d_ok, "aaaaaaaaa asdasd "); 

the package corrupted.

yesterday, created new class in project , enough corrupt package.

so far, re installed eclipse plugin, , nothing changed. can't fine reference problem on google. im stuck here , dont know else check. on simulator works fine.

what making happening? -1.debug mean? when try install app looks -1.cod file.

any appreciated.

regards.

answered on official blackberry java forum: http://supportforums.blackberry.com/t5/java-development/blackberry-package-project-issue-1-debug/td-p/2508105

as requested, here important details linked post:

there no corruption, happening here project has got large enough exceed limits of single cod, , project being built multiple cods.

typically don't see that, because build process zips individual cods, , puts them in 1 large cod. debug-n files indication exceeded 1 cod file - these kept separate , there debug-n file each cod file.

so take single file ".cod", rename ".zip", , open zip file. see 2 cods in there.

unzip , put multiple cod files on web site download. if check jad file has been created, see lists multiple cods.

if want read more this, search blackberry forum 'sibling'. multiple cod files referred sibling cod files.

also see here more on this: http://supportforums.blackberry.com/t5/testing-and-deployment/the-maximum-size-of-a-blackberry-7-or-earlier-smartphone/ta-p/1300209


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -