There are two Android projects, A, B, now engineering a needs to refer to project A, we put B into jar package, let a project call, but Project B is also Android project
where b R.java is not available, because R.java is dynamically generated, each generated value is not the same, so it is recommended that the proposed B project does not involve
Android interface code, mainly write the algorithm or service. If you really want to use the full Android project to make a jar package, you need to be in the referenced project,
Do some processing: for example, there is Lib library reference in B, then A is also added to the Lib library; For example, the contents of the Androidmanifest.xml file in B
The Androidmanifest.xml file should also be added ....
Procedure: Will project B make Android Android library project
Set Project B, right-->properties->android, select the IS library item, and then apply. Set up project A, right-click->properties->android,
In the library, click the Add button to add Project B and apply.
The resources and code in B are introduced in a, and these resources and code can be called directly
Android a project Reference B project