gpt4 book ai didi

java - google-play-services_lib 的 jar 不匹配

转载 作者:行者123 更新时间:2023-12-01 23:26:33 26 4
gpt4 key购买 nike

我刚刚使用 SDK 更新了一些内容并下载了 ADT 的更新。现在我在项目文件夹中看到一个红色感叹号。

控制台告诉我们:

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). All versions of the libraries must be the
same at this time.
Versions found are:
Path: C:\Media\Eclipse Workspace\project1\libs\android-support-v4.jar
Path: C:\Media\adt-bundle-windows-x86_64-20130522\sdk\extras\google\google_play_services\
libproject\google-play-services_lib\libs\android-support-v4.jar
Jar mismatch! Fix your dependencies

不得不说,我创建了一个导入 google-play-services_lib 的项目,以在其他项目中设置为库,因为我必须使用谷歌地图。

在 Java Build Path\Android Private Libraries 中,我有 2 个:google-play-services.jar 和 android-support-v4.jar。

最佳答案

控制台告诉您必须使用支持库的不同副本。当 Eclipse 第一次设置项目时,它将添加支持库的副本。该副本可能与 Google Play 服务库附带的副本不同。确保您的项目中有一致版本的支持库。

关于java - google-play-services_lib 的 jar 不匹配,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19909289/

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