eclipse Android:构建路径中的错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10083301/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Android:Bug in build path
提问by aravind
When I am updating eclipse software and running applications, an error is shown as:
当我更新 eclipse 软件并运行应用程序时,错误显示为:
"The container 'Android Dependencies' references non existing library 'C:\Project\android-sdk-windows\tools\support\annotations.jar'.
“容器 'Android Dependencies' 引用了不存在的库 'C:\Project\android-sdk-windows\tools\support\annotations.jar'。
Please help me to clear this error and run the applications.
请帮助我清除此错误并运行应用程序。
回答by imen
all you need to do is updating your sdk through android sdk manager
您需要做的就是通过 android sdk 管理器更新您的 sdk
回答by Armin Mustafa
After updating SDK manager go to Eclipse-> Help-> Check update-> Install. This will update the ADT corresponding to the SDK update.
更新 SDK 管理器后,转到Eclipse->帮助->检查更新->安装。这将更新对应于 SDK 更新的 ADT。
回答by arniotaki
I had the same problem, i tried the suggested solutions but nothing happened and then I just closed all opened projects in my workspace and reopened them again. Then all the messages disappeared.
我遇到了同样的问题,我尝试了建议的解决方案,但没有任何反应,然后我关闭了工作区中所有打开的项目并再次重新打开它们。然后所有的消息都消失了。
回答by Tim
I ran into the same problem because I had updated the ADT but not the SDK Manager. - Update the SDK Manager, - then close everything and restart Eclipse, - build clean your Android projects and that should solve your problem.
我遇到了同样的问题,因为我更新了 ADT 但没有更新 SDK 管理器。- 更新 SDK 管理器, - 然后关闭所有内容并重新启动 Eclipse, - 构建干净的 Android 项目,这应该可以解决您的问题。