04-04-2011 09:19 AM
I created a library project, and now i am trying to add it to other projects and it seems to be i don't do it right. When i launch my app i get an error "erro starting module not found"...
What is the better way to add a library to my project?
04-04-2011 10:19 AM
Are you sure you're adding the library to the simulator/device?
04-04-2011 10:37 AM
In Eclipse plug-in,
Right click on Project and go to Build Path > Configure Builde Path
Now under Libraries tab, add your Library project.
Next go to Order & Export tab, here check your library project that you've just added. This will load library cod module along with app cods when you launch your app in simulator.
Hope this helps.
04-05-2011 02:43 AM - edited 04-05-2011 02:44 AM
I did what you said. But when i launch the app it keeps saying the same. "Error statting 'myapp': Module 'MyLibrary' not found".
Do I have to physically add myLibrary to my project?
04-05-2011 09:58 AM
Another thing you can try is that Go to Run Configurations and make sure both app project and lib project are selected. Usually if you select app project, IDE will select any ref lib projects as well. If app proj is already selected and lib project is unselected then unselect the app proj and select it again. This has always worked for me.
04-05-2011 10:36 AM
ohh..yes that's for simulator..somehow I believed that u r working on simulator. To add lib on project in device, you have to change either .alx or .jad file to specify lib cod. But I do have my own shortcuts to load app quickly to device. I load app through Debug in Device mode. Once it has finished loading, I stop debugging. Well debuggin mode may be little slow depending on system config but atleast doesn't make u change alx or jad file everytime.