How to add dependencies to projects in Libs in eclipse

Source: Internet
Author: User

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
  1. 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.
  2. 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.
  3. At this point, you can add the slidingmenu_library correctly in the first step.

How to add dependencies to projects in Libs in eclipse

Related Article

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.