-
Creator 版本:1.8.2
-
目标平台: Android
-
详细报错信息,包含调用堆栈:Building mode: release
Using Android Studio project : /Users/phelpstim/Desktop/svn/cccClient/game01/build/hgw-android/jsb-link/frameworks/runtime-src/proj.android-studio
running: ‘/Users/phelpstim/Library/Android/sdk/android-sdk-macosx/tools/android update project -t android-22 -p /Users/phelpstim/Desktop/svn/cccClient/game01/build/hgw-android/jsb-link/frameworks/runtime-src/proj.android-studio/app’
Updated project.properties
Updated local.properties
Updated file /Users/phelpstim/Desktop/svn/cccClient/game01/build/hgw-android/jsb-link/frameworks/runtime-src/proj.android-studio/app/proguard-project.txt
Building apk…
running: ‘"/Users/phelpstim/Desktop/svn/cccClient/game01/build/hgw-android/jsb-link/frameworks/runtime-src/proj.android-studio/gradlew" --parallel --info assembleRelease’
Initialized native services in: /Users/phelpstim/.gradle/native
The client will now receive all logging from the daemon (pid: 668). The daemon log file: /Users/phelpstim/.gradle/daemon/4.1/daemon-668.out.log
Starting 4th build in daemon [uptime: 13 mins 44.976 secs, performance: 99%, no major garbage collections]
Using 4 worker leases.
Creating new cache for fileHashes, path /Users/phelpstim/Desktop/svn/cccClient/game01/build/hgw-android/jsb-link/frameworks/runtime-src/proj.android-studio/.gradle/4.1/fileHashes/fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess@61ea6461
Creating new cache for plugin-use-metadata, path /Users/phelpstim/.gradle/caches/4.1/plugin-resolution/plugin-use-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@10f2187f
Creating new cache for client-status, path /Users/phelpstim/.gradle/caches/4.1/plugin-resolution/client-status.bin, access org.gradle.cache.internal.DefaultCacheAccess@10f2187f
Starting Build
Settings evaluated using settings file ‘/Users/phelpstim/Desktop/svn/cccClient/game01/build/hgw-android/jsb-link/frameworks/runtime-src/proj.android-studio/settings.gradle’.
Projects loaded. Root project using build file ‘/Users/phelpstim/Desktop/svn/cccClient/game01/build/hgw-android/jsb-link/frameworks/runtime-src/proj.android-studio/build.gradle’.
Included projects: [root project ‘proj.android-studio’, project ‘:hongGW’, project ‘:libcocos2dx’]
Parallel execution is an incubating feature.
Evaluating root project ‘proj.android-studio’ using build file ‘/Users/phelpstim/Desktop/svn/cccClient/game01/build/hgw-android/jsb-link/frameworks/runtime-src/proj.android-studio/build.gradle’.
Creating new cache for metadata-1.1/results, path /Users/phelpstim/.gradle/caches/transforms-1/metadata-1.1/results.bin, access org.gradle.cache.internal.DefaultCacheAccess@3b09f9e0
Creating new cache for metadata-2.23/module-metadata, path /Users/phelpstim/.gradle/caches/modules-2/metadata-2.23/module-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@89a5ecf
Creating new cache for metadata-2.23/artifact-at-url, path /Users/phelpstim/.gradle/caches/modules-2/metadata-2.23/artifact-at-url.bin, access org.gradle.cache.internal.DefaultCacheAccess@89a5ecf
Failed to get resource: GET. [HTTP HTTP/1.1 400 Bad Request: https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 400 Bad Request: https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom]
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 resolve com.android.tools.build:gradle:3.0.0.
Required by:
project :
Could not resolve com.android.tools.build:gradle:3.0.0.
Could not get resource ‘https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom’.
Could not GET ‘https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom’. Received status code 400 from server: Bad Request
Could not resolve com.android.tools.build:gradle:3.0.0.
Could not get resource ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom’.
Could not GET ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom’. Received status code 400 from server: Bad Request
-
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 1s
Error running command, return code: 1.


