It took a long time to import Slidingmenu in Eclipse, and finally it was successfully imported.
Now replaced with Androidstudio development, in the import Slidingmenu when you encounter problems, through Google finally import success, write an essay, later forgot to come back to see
1. First download the good Slidingmenu:https://github.com/jfeinstein10/slidingmenu
2. Copy the library to the project
3. Add the Include ': Sliding_menu ' in Settings.gradle
Include ': Sliding_menu '
4. Add dependencies in Build.gradle (Module:app)
Because of the added statement, you will be asked to Sync now
And then you get an error, no matter
5. Then modify the Build.gradle file in Slidingmenu.
Compilesdkversion
Buildtoolsversion
Minsdkversion
Targetsdkversion
Classpath
Modified to be consistent with your app, Module:app's Build.gradle and project Build.gradle
Finally, you may be prompted to use outdated methods to change the Floatmath to math.
How to import Slidingmenu in Android Studio