04-06-2010 04:33 AM
hi,
I made my own library and lets say its Engine.cod. I have multiple apps that use this library.
If I installed app1 on my device, the cods app1.cod and Engine.cod would be loaded onto the BlackBerry it's running. First application with library in device is working fine.
Then when I install app2, app2.cod is loaded and Engine.cod it installed but when i try to run app2. i got this error message,
"Error Starting Class 'com.app.engine.Constants' multiply defined."
Constants file is present inside Engine.cod.
Because of this error i'm not able to run second application with my own library in device.
Please help me to resolve this issue.
Thanks,
Reddy
Solved! Go to Solution.
04-06-2010 04:37 AM
is it persistable?
04-06-2010 04:39 AM
Yes
04-06-2010 04:43 AM
persistable classes cannot be shared in libraries. remove the persistable and it should work