【我的Android进阶之旅】解决SDK升级到27.0.3遇到的GLIBC_2.14 not found、no acceptable C compiler found in $PATH等问题

一、问题一:Failed to find Build Tools revision 27.0.3

##1.1、问题描述
最近公司的Android项目都要进行SDK升级,目前在本地编译的时候将SDK升级到了27.0.3,本地运行正常,然后在jenkins服务器上跑的时候就会出现异常。异常如下所示:


[Gradle] - Launching build.
[AP_Develop] $ /opt/gradle/gradle-2.14.1/bin/gradle clean lintForXTC --stacktrace build --stacktrace findbugs --stacktrace
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Failed to download any source lists!
java.net.ConnectException: Connection timed out (Connection timed out)

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred co

你可能感兴趣的:(我的Android进阶之旅,#,Android常见错误解决之道)