gpt4 book ai didi

android - com.android.ide.eclipse.adt.DEPENDENCIES - 这个符号引用的值集在哪里?

转载 作者:太空狗 更新时间:2023-10-29 15:03:17 25 4
gpt4 key购买 nike

更新到最新的 SDK 4.4W、SDK 工具 23.0 和 Eclipse 插件 23.0,以及其他 IDE 错误,发现我的项目由于构建路径错误而拒绝构建:

The container 'Android Dependencies' references non existing library C:\dev\tools\android-sdk-windows4.4\tools\support\annotations.jar'

我知道它不见了,因为整个文件夹都不见了,jar 现在似乎在这个文件夹中:

C:\dev\tools\android-sdk-windows4.4\extras\android\support\annotations

我的 .classpath 看起来像:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>

我假设最后一个 .DEPENDENCIES 条目包含对 annotations.jar 的显式引用,我想问 Eclipse 或 Android SDK 或项目文件夹中的哪个文件包含该引用?

我希望用正确的引用暂时“戳”它,直到谷歌开始解决这个可怕的发布借口。 (我不想再次创建旧文件夹并将新的(更大的)annotations.jar 复制到其中)

最佳答案

我可以确认 CommonsWares 的回答,只需复制文件并且不要忘记将其重命名为 annotations.jar。这对我有帮助

关于android - com.android.ide.eclipse.adt.DEPENDENCIES - 这个符号引用的值集在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24449675/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com