简体   繁体   中英

Can't add project as library to my project

I'm trying to use ABS library in my project. I added library project to my workspace, checked this state ("Is Library" is true in project's settins), added this project to my one "Java Build Path" -> "Projects". But I can't mark this project as library ("Android"->"Libraries" in properties). I had added that, but when I opened it again, I saw that project hadn't been added. How can I fix it?

Undo this step:

added this project to my one "Java Build Path" -> "Projects".

You only need to add a library project project under the Android -> Libraries in properties

Check your files to see if they are read-only, especially build.properties.

If you use source control, they will tend to be set to read-only and Eclipse doesn't seem to provide any warnings when it needs to write to these files and can't -- you'll check the box, it looks good, then you exit and reload and it's unchecked!

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