[英]ADT doesnt sync Android Private Libraries with libs folder
Things i tried: 我尝试过的事情:
right click on Project -> Android Tools -> Fix project properties 右键单击项目-> Android工具->修复项目属性
closed project and reopened it none helped, what should i do to correct this? 已关闭项目并重新打开它没有帮助,我应该怎么做才能纠正此问题?
i noticed that if i remove the android lib projects from the android import screen ADT syncs the libs folder and when i readd them it removes the libs, is it a bug on ADT? 我注意到,如果我从android导入屏幕中删除android lib项目,则ADT会同步libs文件夹,当我读取它们时,它会删除libs,这是ADT上的错误吗?
右键单击您的项目,单击属性,转到“ java build path ”,选择“ order and export”选项卡,确保选中了android私有库。
When you removed the old files some references and dependencies might not have removed 删除旧文件时,某些引用和依赖项可能尚未删除
Step1 : Delete all the libraries from libs
folder 步骤1 :从
libs
文件夹中删除所有库
Step2 : Go to Project
-> Rightclick
-> Properties
-> Java Build Path
-> Libraires
第二步 :进入
Project
- > Rightclick
- > Properties
- > Java Build Path
- > Libraires
Delete android private libraries Explicitly 明确删除android私有库
There are two places that the reference to the previous project needed to be deleted from, not just one. It had to be taken out of both the "Projects" tab on "Build Path" and out of "Project References" in the project properties
Step3 : Finally paste the new libraries again into libs folder 第三步 :最后将新库再次粘贴到libs文件夹中
Step4 : Clean the project and run 第四步 :清理项目并运行
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.