Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
Posts: 26
Registered: ‎07-25-2012
My Device: 9800
My Carrier: xyz

Urgent Help Error Starting XYZ: Module XYZ cannot depend on non library ABC".

 

 

Hey Guys,

 

                     I am newbai here and new to blackberry (know little bit blackberry). i have problem.

 

Aim : my aim is to create BB project which extend the another BB project .

to do this i hae done follwing step..

 

i have created blackberry project called ABC and i am creating jar file of this project (excluding cod file).

and i have created another blackberry project called XYZ and i have just create sigle class which extends the main class of the ABC blackberry project (through jar file). but i am getting error " Error Starting  XYZ: Module XYZ cannot depend on non library ABC".

i have search in the blackberry forum but nothing work out for me.

 

how to create library file from ABC project  ???

or i have done wrong process to achive the goal???

 

Highlighted
New Developer
Posts: 21
Registered: ‎07-26-2012
My Device: 9790
My Carrier: airtel

Re: Urgent Help Error Starting XYZ: Module XYZ cannot depend on non library ABC".

Set the project type for the project that will be used by another project as Library.

 

Check it in project settings.

 

"Library" projects are available to be used in Dependency window.

 

 

Contributor
Posts: 26
Registered: ‎07-25-2012
My Device: 9800
My Carrier: xyz

Re: Urgent Help Error Starting XYZ: Module XYZ cannot depend on non library ABC".

Thanks AjaySingh.. Now it is working.. Smiley Happy

 

New Developer
Posts: 21
Registered: ‎07-26-2012
My Device: 9790
My Carrier: airtel

Re: Urgent Help Error Starting XYZ: Module XYZ cannot depend on non library ABC".

Please remember to "Accept as Solution" the post which solved your thread.