gpt4 book ai didi

java - "The following artifacts could not be resolved": Maven/Android/Eclipse

转载 作者:行者123 更新时间:2023-12-02 05:46:41 32 4
gpt4 key购买 nike

我正在尝试使用 MavenEclipse 中运行 android 应用程序。不幸的是,某些依赖项正在停止运行(无法找到或解决)。我已经检查过我的存储库中是否有依赖项。欢迎任何建议。感谢您的时间和考虑。

Pom.xml:

<dependency>
<groupId>android</groupId>
<artifactId>android</artifactId>
<version>4.4.2_r2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>android.support</groupId>
<artifactId>compatibility-v4</artifactId>
<version>19.0.1</version>
</dependency>

控制台的错误消息:

The following artifacts could not be resolved: android:android:jar:4.4.2_r2, android.support:compatibility-v4:jar:19.0.1: Failure to find android:android:jar:4.4.2_r2 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

最佳答案

您的存储库中不存在 android:android:jar:4.4.2_r2。检查是否存在。

关于java - "The following artifacts could not be resolved": Maven/Android/Eclipse,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23991614/

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