Import a project today, found that the operation cannot, the Red fork represents COM.ANDROID.INTERNAL.R. A series of references failed.
Check it out, these are all in one SDK comes with package Layoutlib.jar. SDK Path \PLATFORMS\API version \data there is Layoutlib.jar
Throw these directly into the Libs folder, and the Red Fork disappears, running and error:Conversion to Dalvik format failed with error 1
Surf the internet, probably means that the resource in the package and project resource reference conflict, so continue to check.
Sure enough, the should be imported into the library as a user library, the following steps:
1. Right-click the project in Eclipse and select "Build Path, Add Libraries ...".
2. Select User Library from the list and click Next.
3. Click the "User Libraries ..." button.
4. Click "New ..." in the User Libraries dialog.
5. Give the user library a name and select the System Library checkbox and click OK.
6. Highlight the newly added user library in the list and click the "Add JARs ..." button and Add the desired jar files.
7. Click OK on the User Libraries dialog.
8. Make sure the new user library was checked in the Add Library dialog and click Finish.
Follow the above steps, I name the library layoutlib, then run, or error.
Carefully looked under the project library jar package support, found that their layoutlib and system of Android Private libraries are referenced Layoutlib.jar
Take the Layoutlib.jar out of the Libs and put it in the application root directory and point the Layoutlib library to the new path.
Run, Success!
Android Eclipse import COM.ANDROID.INTERNAL.R and Layoutlib.jar error resolution