I have to use A Project in B project. I tried two techniques
- Convert A Project to Library and include it to B Project and also
checked
Android Private Libraries
underProject Properties->Java Build Path->Order And Export
- Add
A Project to B Project
without converting it toLibrary
.And also check Project underOrder and Export
Both of them giving me Error NoDefinationFound
and NoClassFound
(Whether you declare it in manifest.xml
) respectively.
I want to know what is the difference between these approach
and where am i doing wrong
.
I know I can copy all resource and Packages
of Project A to Project B.But why this technique not working
.
And what are the major Advantage of using one Approach over another
I know both ways to import Project and Library. But still NoClassDefinitionError and ClassNotFoundException.