gpt4 book ai didi

android - 尝试更新 ADT - 收到 "conflicting dependency"错误

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:06:59 25 4
gpt4 key购买 nike

自从我尝试导入 android 项目以来,我遇到了一系列问题。

<醇>
  • 我的 SDK 的位置尚未在首选项中设置(即使之前设置过并且 ADT 运行良好)。
  • 当我尝试设置 sdk 文件夹的路径时,它显示

    This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.2.v201403212031-1085508. Please update ADT to the latest version.

  • 所以我尝试按照另一篇 SO 帖子中的建议通过以下方式更新 Eclipse(因为“检查更新”一直告诉我没有可用的更新:

    Help -> Install new software -> p2repo - https://dl-ssl.google.com/android/eclipse/ -> Check developer tools -> Next

  • 这就是我收到以下错误的地方:

    Cannot complete the install because of a conflicting dependency.
    Software being installed: Android Native Development Tools 23.0.2.1259578 (com.android.ide.eclipse.ndk.feature.feature.group 23.0.2.1259578)
    Software currently installed: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508)
    Only one of the following can be installed at once:
    ADT CDT Integration 23.0.2.1259578 (com.android.ide.eclipse.ndk 23.0.2.1259578)
    ADT CDT Integration 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ndk 22.6.2.v201403212031-1085508)
    Cannot satisfy dependency:
    From: ADT Package 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.feature.group 22.6.2.v201403212031-1085508)
    To: com.android.ide.eclipse.ndk.feature.group 22.6.2

    Cannot satisfy dependency:
    From: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508)
    To: com.android.ide.eclipse.adt.package.feature.group [22.6.2.v201403212031-1085508]

    Cannot satisfy dependency:
    From: Android Native Development Tools 23.0.2.1259578 (com.android.ide.eclipse.ndk.feature.feature.group 23.0.2.1259578)
    To: com.android.ide.eclipse.ndk [23.0.2.1259578]

    Cannot satisfy dependency:
    From: Android Native Development Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ndk.feature.group 22.6.2.v201403212031-1085508)
    To: com.android.ide.eclipse.ndk [22.6.2.v201403212031-1085508]

    我怎样才能成功解决这些错误并更新 eclipse?

    最佳答案

    只需转到帮助>安装详细信息>已安装的软件,然后选择 ADT(旧版本)> 单击卸载,即可卸载当前 ADT 版本为 22.6.2.v201403212031-1085508。现在重新安装最新的 ADT。这样,我就可以将 ADT 更新到当前版本,希望对您有所帮助。注意:这不适用于 adt-bundle。

    关于android - 尝试更新 ADT - 收到 "conflicting dependency"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24646862/

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