使用AS3.0创建的项目中使用的gradle版本是4.1,便宜apk的时候提示下载gradle出错。
使用AS3.0创建一个android工程。
将代码上传至gitee
编译apk
Cloning into 'jijunpeng_iTalker-8e3165f6'...
###############
fetch code succeed
###############
ready to create docker container
###############
docker container created successfully
Downloading http://gradle.local/gradle_bin_zip/gradle-4.1-bin.zip
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 500 for URL: http://gradle.local/gradle_bin_zip/gradle-4.1-bin.zip
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
at org.gradle.wrapper.Download.download(Download.java:44)
at org.gradle.wrapper.Install$1.call(Install.java:61)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
已更新
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
@atompi 现在可以下载4.1版的gradle,但是仍然不能正常编译apk
Cloning into 'jijunpeng_iTalker-52b1ff60'...
###############
fetch code succeed
###############
ready to create docker container
###############
docker container created successfully
Downloading http://gradle.local/gradle_bin_zip/gradle-4.1-bin.zip
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping .gradle/wrapper/dists/gradle-4.1-bin/bas7rtjrvfrv6nl9rj3pdk1gc/gradle-4.1-bin.zip to .gradle/wrapper/dists/gradle-4.1-bin/bas7rtjrvfrv6nl9rj3pdk1gc
Set executable permissions for: .gradle/wrapper/dists/gradle-4.1-bin/bas7rtjrvfrv6nl9rj3pdk1gc/gradle-4.1/bin/gradle
Starting a Gradle Daemon (subsequent builds will be faster)
Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/mvn/repository.
Repository https://repo1.maven.org/maven2/ replaced by http://maven.aliyun.com/mvn/repository.
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-core/3.0.0/gradle-core-3.0.0.pom
Download http://maven.aliyun.com/mvn/repository/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.pom
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm/5.1/asm-5.1.pom
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.pom
Download http://maven.aliyun.com/mvn/repository/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint/26.0.0/lint-26.0.0.pom
Download http://maven.aliyun.com/mvn/repository/org/jacoco/org.jacoco.core/0.7.4.201502262128/org.jacoco.core-0.7.4.201502262128.pom
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm-parent/5.1/asm-parent-5.1.pom
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm-analysis/5.1/asm-analysis-5.1.pom
Download http://maven.aliyun.com/mvn/repository/org/jacoco/org.jacoco.report/0.7.4.201502262128/org.jacoco.report-0.7.4.201502262128.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/external/org-jetbrains/uast/26.0.0/uast-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.0.0/builder-3.0.0.pom
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm-util/5.1/asm-util-5.1.pom
Download http://maven.aliyun.com/mvn/repository/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-api/3.0.0/gradle-api-3.0.0.pom
Download http://maven.aliyun.com/mvn/repository/org/jacoco/org.jacoco.build/0.7.4.201502262128/org.jacoco.build-0.7.4.201502262128.pom
Download https://dl.google.com/dl/android/maven2/com/android/databinding/compilerCommon/3.0.0/compilerCommon-3.0.0.pom
Download http://maven.aliyun.com/mvn/repository/net/sf/proguard/proguard-gradle/5.3.3/proguard-gradle-5.3.3.pom
Download http://maven.aliyun.com/mvn/repository/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.pom
Download http://maven.aliyun.com/mvn/repository/com/google/protobuf/protobuf-parent/3.0.0/protobuf-parent-3.0.0.pom
Download http://maven.aliyun.com/mvn/repository/net/sf/proguard/proguard-parent/5.3.3/proguard-parent-5.3.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/tracker/26.0.0/tracker-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/ddms/ddmlib/26.0.0/ddmlib-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/3.0.0/builder-model-3.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/sdk-common/26.0.0/sdk-common-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/manifest-merger/26.0.0/manifest-merger-26.0.0.pom
Download http://maven.aliyun.com/mvn/repository/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/26.0.0/protos-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/shared/26.0.0/shared-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/sdklib/26.0.0/sdklib-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-test-api/3.0.0/builder-test-api-3.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/common/26.0.0/common-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/3.0.0/apksig-3.0.0.pom
Download http://maven.aliyun.com/mvn/repository/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.pom
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm-tree/5.1/asm-tree-5.1.pom
Download http://maven.aliyun.com/mvn/repository/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.pom
Download http://maven.aliyun.com/mvn/repository/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.pom
Download http://maven.aliyun.com/mvn/repository/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-checks/26.0.0/lint-checks-26.0.0.pom
Download http://maven.aliyun.com/mvn/repository/com/google/guava/guava/22.0/guava-22.0.pom
Download http://maven.aliyun.com/mvn/repository/com/google/guava/guava-parent/22.0/guava-parent-22.0.pom
Download http://maven.aliyun.com/mvn/repository/com/android/tools/annotations/24.5.0/annotations-24.5.0.pom
Download http://maven.aliyun.com/mvn/repository/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.pom
Download http://maven.aliyun.com/mvn/repository/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom
Download http://maven.aliyun.com/mvn/repository/org/antlr/antlr4-master/4.5.3/antlr4-master-4.5.3.pom
Download http://maven.aliyun.com/mvn/repository/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
Download http://maven.aliyun.com/mvn/repository/org/jetbrains/annotations/13.0/annotations-13.0.pom
Download http://maven.aliyun.com/mvn/repository/net/sf/proguard/proguard-base/5.3.3/proguard-base-5.3.3.pom
Download http://maven.aliyun.com/mvn/repository/org/apache/httpcomponents/httpclient/4.2.6/httpclient-4.2.6.pom
Download http://maven.aliyun.com/mvn/repository/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/layoutlib/layoutlib-api/26.0.0/layoutlib-api-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/repository/26.0.0/repository-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/dvlib/26.0.0/dvlib-26.0.0.pom
Download http://maven.aliyun.com/mvn/repository/com/google/code/gson/gson/2.3/gson-2.3.pom
Download http://maven.aliyun.com/mvn/repository/org/apache/commons/commons-parent/39/commons-parent-39.pom
Download http://maven.aliyun.com/mvn/repository/org/apache/httpcomponents/httpcomponents-client/4.2.6/httpcomponents-client-4.2.6.pom
Download http://maven.aliyun.com/mvn/repository/org/apache/httpcomponents/project/7/project-7.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-api/26.0.0/lint-api-26.0.0.pom
Download http://maven.aliyun.com/mvn/repository/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.pom
Download http://maven.aliyun.com/mvn/repository/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.pom
Download http://maven.aliyun.com/mvn/repository/com/google/errorprone/error_prone_parent/2.0.18/error_prone_parent-2.0.18.pom
Download http://maven.aliyun.com/mvn/repository/com/intellij/annotations/12.0/annotations-12.0.pom
Download http://maven.aliyun.com/mvn/repository/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom
Download http://maven.aliyun.com/mvn/repository/com/google/jimfs/jimfs-parent/1.1/jimfs-parent-1.1.pom
Download http://maven.aliyun.com/mvn/repository/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.pom
Download http://maven.aliyun.com/mvn/repository/org/apache/httpcomponents/httpcomponents-core/4.2.5/httpcomponents-core-4.2.5.pom
Download http://maven.aliyun.com/mvn/repository/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.pom
Download http://maven.aliyun.com/mvn/repository/org/jetbrains/kotlin/kotlin-reflect/1.1.3-2/kotlin-reflect-1.1.3-2.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/intellij-core/26.0.0/intellij-core-26.0.0.pom
Download http://maven.aliyun.com/mvn/repository/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/annotations/26.0.0/annotations-26.0.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint/26.0.0/lint-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/external/org-jetbrains/uast/26.0.0/uast-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/manifest-merger/26.0.0/manifest-merger-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/sdklib/26.0.0/sdklib-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-core/3.0.0/gradle-core-3.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/databinding/compilerCommon/3.0.0/compilerCommon-3.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.0.0/builder-3.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-api/26.0.0/lint-api-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/sdk-common/26.0.0/sdk-common-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-checks/26.0.0/lint-checks-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-api/3.0.0/gradle-api-3.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/repository/26.0.0/repository-26.0.0.jar
Download http://maven.aliyun.com/mvn/repository/org/jetbrains/kotlin/kotlin-reflect/1.1.3-2/kotlin-reflect-1.1.3-2.jar
Download http://maven.aliyun.com/mvn/repository/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar
Download http://maven.aliyun.com/mvn/repository/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.jar
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.jar
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm-tree/5.1/asm-tree-5.1.jar
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm/5.1/asm-5.1.jar
Download http://maven.aliyun.com/mvn/repository/org/jacoco/org.jacoco.core/0.7.4.201502262128/org.jacoco.core-0.7.4.201502262128.jar
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm-analysis/5.1/asm-analysis-5.1.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/tracker/26.0.0/tracker-26.0.0.jar
Download http://maven.aliyun.com/mvn/repository/org/ow2/asm/asm-util/5.1/asm-util-5.1.jar
Download http://maven.aliyun.com/mvn/repository/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar
Download http://maven.aliyun.com/mvn/repository/org/jacoco/org.jacoco.report/0.7.4.201502262128/org.jacoco.report-0.7.4.201502262128.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/shared/26.0.0/shared-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/26.0.0/protos-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/3.0.0/builder-model-3.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-test-api/3.0.0/builder-test-api-3.0.0.jar
Download http://maven.aliyun.com/mvn/repository/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/ddms/ddmlib/26.0.0/ddmlib-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/dvlib/26.0.0/dvlib-26.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/layoutlib/layoutlib-api/26.0.0/layoutlib-api-26.0.0.jar
Download http://maven.aliyun.com/mvn/repository/net/sf/proguard/proguard-gradle/5.3.3/proguard-gradle-5.3.3.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/3.0.0/apksig-3.0.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/common/26.0.0/common-26.0.0.jar
Download http://maven.aliyun.com/mvn/repository/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.jar
Download http://maven.aliyun.com/mvn/repository/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.jar
Download http://maven.aliyun.com/mvn/repository/com/google/jimfs/jimfs/1.1/jimfs-1.1.jar
Download http://maven.aliyun.com/mvn/repository/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar
Download http://maven.aliyun.com/mvn/repository/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar
Download http://maven.aliyun.com/mvn/repository/com/google/guava/guava/22.0/guava-22.0.jar
Download http://maven.aliyun.com/mvn/repository/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.jar
Download http://maven.aliyun.com/mvn/repository/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.jar
Download https://dl.google.com/dl/android/maven2/com/android/databinding/baseLibrary/3.0.0/baseLibrary-3.0.0.jar
Download http://maven.aliyun.com/mvn/repository/org/antlr/antlr4/4.5.3/antlr4-4.5.3.jar
Download http://maven.aliyun.com/mvn/repository/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/annotations/26.0.0/annotations-26.0.0.jar
Download http://maven.aliyun.com/mvn/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar
Download http://maven.aliyun.com/mvn/repository/com/google/code/gson/gson/2.3/gson-2.3.jar
Download http://maven.aliyun.com/mvn/repository/net/sf/proguard/proguard-base/5.3.3/proguard-base-5.3.3.jar
Download http://maven.aliyun.com/mvn/repository/org/apache/commons/commons-compress/1.12/commons-compress-1.12.jar
Download http://maven.aliyun.com/mvn/repository/org/apache/httpcomponents/httpclient/4.2.6/httpclient-4.2.6.jar
Download http://maven.aliyun.com/mvn/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
Download http://maven.aliyun.com/mvn/repository/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar
Download http://maven.aliyun.com/mvn/repository/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar
Download http://maven.aliyun.com/mvn/repository/com/intellij/annotations/12.0/annotations-12.0.jar
Download http://maven.aliyun.com/mvn/repository/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.jar
Download https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/intellij-core/26.0.0/intellij-core-26.0.0.jar
Download http://maven.aliyun.com/mvn/repository/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar
Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/mvn/repository.
Repository https://repo1.maven.org/maven2/ replaced by http://maven.aliyun.com/mvn/repository.
Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/mvn/repository.
Repository https://repo1.maven.org/maven2/ replaced by http://maven.aliyun.com/mvn/repository.
Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/mvn/repository.
Repository https://repo1.maven.org/maven2/ replaced by http://maven.aliyun.com/mvn/repository.
Exception while marshalling android_sdk/build-tools/25.0.1/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/25.0.2/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/25.0.3/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/26.0.0/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/26.0.1/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/extras/android/m2repository/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/extras/google/m2repository/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/platform-tools/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/android-tv/x86/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/default/x86/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/default/x86_64/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/google_apis/arm64-v8a/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/google_apis/armeabi-v7a/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/google_apis/x86_64/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/tools/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/25.0.1/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/25.0.2/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/25.0.3/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/26.0.0/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/26.0.1/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/extras/android/m2repository/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/extras/google/m2repository/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/platform-tools/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/android-tv/x86/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/default/x86/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/default/x86_64/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/google_apis/arm64-v8a/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/google_apis/armeabi-v7a/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/google_apis/x86_64/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/tools/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/25.0.1/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/25.0.2/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/25.0.3/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/26.0.0/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/build-tools/26.0.1/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/extras/android/m2repository/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/extras/google/m2repository/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/platform-tools/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/android-tv/x86/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/default/x86/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/default/x86_64/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/google_apis/arm64-v8a/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/google_apis/armeabi-v7a/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/system-images/android-24/google_apis/x86_64/package.xml. Probably the SDK is read-only
Exception while marshalling android_sdk/tools/package.xml. Probably the SDK is read-only
Checking the license for package Android SDK Build-Tools 26.0.2 in android_sdk/licenses
Warning: License for package Android SDK Build-Tools 26.0.2 not accepted.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Build-Tools 26.0.2].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 34s
已经更新 Android SDK Build-Tools 26.0.2
。可重试一下。
@lowkey2046 可以正常编译了
登录 后才可以发表评论