gpt4 book ai didi

android - 库未添加到 Android 中的 Android Private Libraries 文件夹中

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

项目中有多个库。问题是我的库突然没有添加到使用库所必需的“Android 私有(private)库”文件夹中。请帮我解决这个问题。工作区中只有一个项目出现问题,其他项目运行良好。请注意:在 java build path ---> order and export ---> have checked private libraries 。所以这不是这个问题的问题。 enter image description here

我目前的SDK工具配置 enter image description here

Console message on cleaning:
[2013-08-24 18:03:33 - Twitter4jSample] Unable to resolve target 'android-7'
[2013-08-24 18:03:34 - myproject] Found 2 versions of android-support-v4.jar in the dependency list,
[2013-08-24 18:03:34 - myproject] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-08-24 18:03:34 - myproject] All versions of the libraries must be the same at this time.
[2013-08-24 18:03:34 - myproject] Versions found are:
[2013-08-24 18:03:34 - myproject] Path: D:\Project BackUps\project2 gen\dev\facebookSDK\libs\android-support-v4.jar
[2013-08-24 18:03:34 - myproject] Length: 484258
[2013-08-24 18:03:34 - myproject] SHA-1: bd6479f5dd592790607e0504e66e0f31c2b4d308
[2013-08-24 18:03:34 - myproject] Path: D:\Project BackUps\project2 gen\dev\projectAPP\libs\android-support-v4.jar
[2013-08-24 18:03:34 - myproject] Length: 556198
[2013-08-24 18:03:34 - myproject] SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2013-08-24 18:03:34 - myproject] Jar mismatch! Fix your dependencies
[2013-08-24 18:03:34 - myproject] Found 2 versions of android-support-v4.jar in the dependency list,
[2013-08-24 18:03:34 - myproject] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-08-24 18:03:34 - myproject] All versions of the libraries must be the same at this time.
[2013-08-24 18:03:34 - myproject] Versions found are:
[2013-08-24 18:03:34 - myproject] Path: D:\Project BackUps\project2 gen\dev\facebookSDK\libs\android-support-v4.jar
[2013-08-24 18:03:34 - myproject] Length: 484258
[2013-08-24 18:03:34 - myproject] SHA-1: bd6479f5dd592790607e0504e66e0f31c2b4d308
[2013-08-24 18:03:34 - myproject] Path: D:\Project BackUps\project2 gen\dev\projectAPP\libs\android-support-v4.jar
[2013-08-24 18:03:34 - myproject] Length: 556198
[2013-08-24 18:03:34 - myproject] SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2013-08-24 18:03:34 - myproject] Jar mismatch! Fix your dependencies
[2013-08-24 18:03:49 - myproject] Found 2 versions of android-support-v4.jar in the dependency list,
[2013-08-24 18:03:49 - myproject] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-08-24 18:03:49 - myproject] All versions of the libraries must be the same at this time.
[2013-08-24 18:03:49 - myproject] Versions found are:
[2013-08-24 18:03:49 - myproject] Path: D:\Project BackUps\project2 gen\dev\facebookSDK\libs\android-support-v4.jar
[2013-08-24 18:03:49 - myproject] Length: 484258
[2013-08-24 18:03:49 - myproject] SHA-1: bd6479f5dd592790607e0504e66e0f31c2b4d308
[2013-08-24 18:03:49 - myproject] Path: D:\Project BackUps\project2 gen\dev\projectAPP\libs\android-support-v4.jar
[2013-08-24 18:03:49 - myproject] Length: 556198
[2013-08-24 18:03:49 - myproject] SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2013-08-24 18:03:49 - myproject] Jar mismatch! Fix your dependencies
[2013-08-24 18:04:07 - myproject] Found 2 versions of android-support-v4.jar in the dependency list,
[2013-08-24 18:04:07 - myproject] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-08-24 18:04:07 - myproject] All versions of the libraries must be the same at this time.
[2013-08-24 18:04:07 - myproject] Versions found are:
[2013-08-24 18:04:07 - myproject] Path: D:\Project BackUps\project2 gen\dev\facebookSDK\libs\android-support-v4.jar
[2013-08-24 18:04:07 - myproject] Length: 484258
[2013-08-24 18:04:07 - myproject] SHA-1: bd6479f5dd592790607e0504e66e0f31c2b4d308
[2013-08-24 18:04:07 - myproject] Path: D:\Project BackUps\project2 gen\dev\projectAPP\libs\android-support-v4.jar
[2013-08-24 18:04:07 - myproject] Length: 556198
[2013-08-24 18:04:07 - myproject] SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2013-08-24 18:04:07 - myproject] Jar mismatch! Fix your dependencies
[2013-08-24 18:04:17 - myproject] Found 2 versions of android-support-v4.jar in the dependency list,
[2013-08-24 18:04:17 - myproject] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-08-24 18:04:17 - myproject] All versions of the libraries must be the same at this time.
[2013-08-24 18:04:17 - myproject] Versions found are:
[2013-08-24 18:04:17 - myproject] Path: D:\Project BackUps\project2 gen\dev\facebookSDK\libs\android-support-v4.jar
[2013-08-24 18:04:17 - myproject] Length: 484258
[2013-08-24 18:04:17 - myproject] SHA-1: bd6479f5dd592790607e0504e66e0f31c2b4d308
[2013-08-24 18:04:17 - myproject] Path: D:\Project BackUps\project2 gen\dev\projectAPP\libs\android-support-v4.jar
[2013-08-24 18:04:17 - myproject] Length: 556198
[2013-08-24 18:04:17 - myproject] SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2013-08-24 18:04:17 - myproject] Jar mismatch! Fix your dependencies

最佳答案

您在项目中添加了不同的支持库:

Found 2 versions of android-support-v4.jar in the dependency list, but not all the versions are identical (check is based on SHA-1 only at this time).

这意味着您的项目和您正在使用的所有库中必须具有相同版本的那个 jar。

要解决它,您可以删除项目中的 android-support-v4.jar。在您可以在计算机中的某处选择该 jar 之一(您可以选择 sdk 提供的那个)并将其粘贴到任何地方之后,您必须包含它。这为我解决了这个问题。

关于android - 库未添加到 Android 中的 Android Private Libraries 文件夹中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18418760/

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