First look at the picture
Problem Description:
I found an error in the code after importing the project, and I read the error message and found that the class in the project cannot be imported into the slidingmenu_library.
Solve
- Naturally think of the right-click Project-->properties-->android-->is Library to add slidingmenu_library by clicking Add.
But the problem comes, click Add after the Discovery pop-up box does not have slidingmenu_library.
- So you have to import slidingmenu_library first. Here I made a mistake, when I import the project, find Libs under Slidingmenu_library Import found the item on the Red Fork, is an error. The problem has been tangled for a long time and cannot be solved. until I accidentally found out that I should choose existing Android Code into workspace instead of selecting existing project into workspace when I import the project , Students who wish to see this text can avoid making the same mistakes.
- At this point, you can add the slidingmenu_library correctly in the first step.
How to add dependencies to projects in Libs in eclipse