简体   繁体   中英

How to import android open source library?

I tried to use Android-PullToRefresh in my project.

I am used to importing library by "File -> New -> Other... -> Android -> Android Project from Existing Code" in Eclipse, but this time, it said that "Select at least one project" when I choose the "library" folder in that project.

What is the correct way to import this library? Please help. Thanks!

If your workspace having the project with the same activity name as the activity in your library, this time also it will show select atleast one project. check if you work space contains any

If you are trying to import a library into Eclipse, then you may refer to this post Adding a library/JAR to an Eclipse Android project

If you are trying to import the project, then you select the entire project folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM