CM14.1编译错误

CM14.1编译错误

我正在尝试为我的手机编译 CM14.1,当我接近该过程的结束点时,我收到与 maven 相关的错误:

FAILED: /bin/bash -c "(mvn -q org.apache.maven.plugins:maven-dependency-plugin:2.10:get                    org.apache.maven.plugins:maven-dependency-plugin:2.10:copy       -DremoteRepositories=central::::https://maven.cyanogenmod.org/artifactory/gello_prebuilds       -Dartifact=org.cyanogenmod:gello:40:apk         -Dmdep.prependGroupId=true      -Dmdep.overWriteSnapshots=true      -Dmdep.overWriteReleases=true       -Dtransitive=false      -DoutputDirectory=/root/android/system/out/target/common/obj/APPS/Gello_intermediates/ )"
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:get (default-cli) on project standalone-pom: Couldn't download artifact: Could not transfer artifact org.cyanogenmod:gello:apk:40 from/to central (https://maven.cyanogenmod.org/artifactory/gello_prebuilds): Connect to maven.cyanogenmod.org:443 [maven.cyanogenmod.org/216.168.38.166] failed: Connection timed out (Connection timed out)
[ERROR] org.cyanogenmod:gello:apk:40
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false),
[ERROR] central (https://maven.cyanogenmod.org/artifactory/gello_prebuilds, releases=true, snapshots=true)
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/root/android/system'

#### make failed to build some targets (04:09 (mm:ss)) ####

有人有什么想法吗?

答案1

通过删除 ~/android/system/out 文件夹并brunch shamu再次运行即可修复

相关内容