Reference project in Android

Reference post: http://blog.csdn.net/yaya_soft/article/details/11627167

 

I have been referencing the Android project in the past two days and found that this thing is very practical. I refer to a project so that the project library does not need to generate a jar package every time. The main steps are as follows:

Set project A, right-click->Properties->Android, select the Is library item, and then Apply.

Set project B, right-click->Properties->Android, in Library, click the Add button, add project A, and then Apply.

 

! ! ! There was a problem in the afternoon, the add library is invalid, it has always been a small red cross 

Later, after being pointed out by a colleague, the two projects must be in the same partition, otherwise the import will be invalid!

 

To be sorted!

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326611322&siteId=291194637