How to import Slidingmenu in Android Studio

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.