cocos creator编译失败

cocos creator 1.10版本
发布安卓老是编译失败,不知道是不是这段的错:build.gradle 文件中 compileSdkVersion 的值为 26,但是文件夹 C:\anzuokaifahuanjing\sdk\Android-SDK\platforms\android-26 不存在。
以下是日志报错全部:
编译模式:release
使用 Android Studio 工程:C:\Users\Administrator\Documents\NewProject\build\jsb-default\frameworks\runtime-src\proj.android-studio
正在执行:’“C:\anzuokaifahuanjing\sdk\Android-SDK\tools\android” update project -t android-10 -p C:\Users\Administrator\Documents\NewProject\build\jsb-default\frameworks\runtime-src\proj.android-studio\app’

Updated project.properties
Updated local.properties
No project name specified, using Activity name ‘AppActivity’.
If you wish to change it, edit the first line of build.xml.
Added file C:\Users\Administrator\Documents\NewProject\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build.xml
Added file C:\Users\Administrator\Documents\NewProject\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\proguard-project.txt
正在生成 apk 文件…
build.gradle 文件中 compileSdkVersion 的值为 26,但是文件夹 C:\anzuokaifahuanjing\sdk\Android-SDK\platforms\android-26 不存在。
正在执行:’“C:\Users\Administrator\Documents\NewProject\build\jsb-default\frameworks\runtime-src\proj.android-studio\gradlew.bat” --parallel --info assembleRelease’

Initialized native services in: C:\Users\Administrator.gradle\native
Removing daemon from the registry due to communication failure. Daemon information: DaemonInfo{pid=4636, address=[0ba12c3c-9ce5-4cd0-b51b-905d64f610e6 port:49277, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Idle, lastBusy=1539702480504, context=DefaultDaemonContext[uid=a088c5a2-34cf-41a8-b2d4-5da0c8dd8441,javaHome=C:\Program Files\Java\jdk1.8.0_181,daemonRegistryDir=C:\Users\Administrator.gradle\daemon,pid=4636,idleTimeout=10800000,daemonOpts=-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=GBK,-Duser.country=CN,-Duser.language=zh,-Duser.variant]}
Removing 1 daemon stop events from registry
Previous Daemon (4636) stopped at Wed Oct 17 12:36:21 CST 2018 by user or operating system
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
Starting process ‘Gradle build daemon’. Working directory: C:\Users\Administrator.gradle\daemon\4.1 Command: C:\Program Files\Java\jdk1.8.0_181\bin\java.exe -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=GBK -Duser.country=CN -Duser.language=zh -Duser.variant -cp C:\Users\Administrator.gradle\wrapper\dists\gradle-4.1-all\6aljcho5ti94cio10aoqa5qqs8\gradle-4.1\lib\gradle-launcher-4.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.1
Successfully started process ‘Gradle build daemon’
An attempt to start the daemon took 5.964 secs.
The client will now receive all logging from the daemon (pid: 6600). The daemon log file: C:\Users\Administrator.gradle\daemon\4.1\daemon-6600.out.log
Starting build in new daemon [memory: 954.7 MB]
Using 4 worker leases.
Creating new cache for fileHashes, path C:\Users\Administrator.gradle\caches\4.1\fileHashes\fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess@555c4f64
Creating new cache for resourceHashesCache, path C:\Users\Administrator.gradle\caches\4.1\fileHashes\resourceHashesCache.bin, access org.gradle.cache.internal.DefaultCacheAccess@555c4f64
Creating new cache for fileHashes, path C:\Users\Administrator\Documents\NewProject\build\jsb-default\frameworks\runtime-src\proj.android-studio.gradle\4.1\fileHashes\fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess@17bc87cf
Creating new cache for plugin-use-metadata, path C:\Users\Administrator.gradle\caches\4.1\plugin-resolution\plugin-use-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@5fd28377
Creating new cache for client-status, path C:\Users\Administrator.gradle\caches\4.1\plugin-resolution\client-status.bin, access org.gradle.cache.internal.DefaultCacheAccess@5fd28377
Starting Build
Settings evaluated using settings file ‘C:\Users\Administrator\Documents\NewProject\build\jsb-default\frameworks\runtime-src\proj.android-studio\settings.gradle’.
Projects loaded. Root project using build file ‘C:\Users\Administrator\Documents\NewProject\build\jsb-default\frameworks\runtime-src\proj.android-studio\build.gradle’.
Included projects: [root project ‘proj.android-studio’, project ‘:hello_world’, project ‘:libcocos2dx’]
Parallel execution is an incubating feature.
Evaluating root project ‘proj.android-studio’ using build file ‘C:\Users\Administrator\Documents\NewProject\build\jsb-default\frameworks\runtime-src\proj.android-studio\build.gradle’.
Creating new cache for metadata-1.1/results, path C:\Users\Administrator.gradle\caches\transforms-1\metadata-1.1\results.bin, access org.gradle.cache.internal.DefaultCacheAccess@1e34aaad
Creating new cache for metadata-2.23/module-metadata, path C:\Users\Administrator.gradle\caches\modules-2\metadata-2.23\module-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@2d2e881e
Creating new cache for metadata-2.23/artifact-at-repository, path C:\Users\Administrator.gradle\caches\modules-2\metadata-2.23\artifact-at-repository.bin, access org.gradle.cache.internal.DefaultCacheAccess@2d2e881e
Creating new cache for metadata-2.23/artifact-at-url, path C:\Users\Administrator.gradle\caches\modules-2\metadata-2.23\artifact-at-url.bin, access org.gradle.cache.internal.DefaultCacheAccess@2d2e881e

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘proj.android-studio’.

Could not resolve all files for configuration ‘:classpath’.
Could not download protobuf-java.jar (com.google.protobuf:protobuf-java:3.0.0)
Could not get resource ‘https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.jar’.
Could not GET ‘https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.jar’.
Connect to d29vzk4ow07wi7.cloudfront.net:443 [d29vzk4ow07wi7.cloudfront.net/13.35.103.11, d29vzk4ow07wi7.cloudfront.net/13.35.103.174, d29vzk4ow07wi7.cloudfront.net/13.35.103.48, d29vzk4ow07wi7.cloudfront.net/13.35.103.62] failed: Read timed out

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 3m 33s
执行命令出错,返回值:1。