How android introduces open-source projects and android open-source projects

Source: Internet
Author: User

How android introduces open-source projects and android open-source projects


The introduction of. pulltorefresh is used as an example.


The basic import steps are as follows:

........................................ ........................................ ........................................ ........................................ ......

However, after the import, the import may fail, and the green check mark turns to a red difference, for the following reasons:

The library and project are under different drive letters. Because of the drive letter support problems in windows, you cannot drink Libraries under different drive letters. You can simply put the library in the same directory as the project.


How to prioritize the use of third-party jar packages introduced by Android

1: I have encountered this problem. Even if the res folder is packaged into a jar package, it cannot be used. If some classes in the jar package involve files in the res folder, an error is returned.
2: you are talking about the android sdk. You can take a look at android. jar package, the res directory in it is also gray, and you cannot view the images or xml files in it, so there is no need to think about android. jar in the same way.
3: There is a compromise, but you need the source code of your project. In eclipse, import your project, right-click it, and select "Is Library" under "Properties -----> Android ------>" Library. Right-click the project you created and choose Properties> Android> Add on the right of the Library to select your project name (jar.
Hope to adopt it.
 
For android open-source projects, if you want to join an open-source project to learn and train yourself

You can do it ,,,
 

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.