You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What went wrong:
A problem occurred evaluating project ':app'.
Failed to apply plugin [id 'com.android.application']
Minimum supported Gradle version is 3.3. Current version is 3.1. If using the gradle wrapper, try editing the distributionUrl in /home/jitpack/build/gradle/wrapper/gradle-wrapper.properties to gradle-3.3-all.zip
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
WARNING:
Gradle 'install' task not found. Please add the 'maven' or 'android-maven' plugin.
See the documentation and examples: https://jitpack.io/docs/
Adding maven plugin
Found android library build file in swipetorefresh
Running: gradle clean -Pgroup=com.github.zhouphenix -Pversion=1.0.2 install
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Djavax.xml.accessExternalSchema=all
Gradle version Gradle 3.1
What went wrong:
A problem occurred evaluating project ':app'.
Failed to apply plugin [id 'com.android.application']
Minimum supported Gradle version is 3.3. Current version is 3.1. If using the gradle wrapper, try editing the distributionUrl in /home/jitpack/build/gradle/wrapper/gradle-wrapper.properties to gradle-3.3-all.zip
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.67 secs
EXIT_CODE=1
2017-03-25T06:58:57.883886487Z
Exit code: 1
No build artifacts found
The text was updated successfully, but these errors were encountered:
【解决】
“ERROR: Gradle wrapper not found. Please add. Using default gradle to build.”
--没有上传gradle/wrapper目录以及gradlew、gradle.bat
"Minimum supported Gradle version is 3.3. Current version is 3.1."
--造成的原因是原来手贱更新了gradle版本,具体对照https://github.com/dcendents/android-maven-gradle-plugin#note-on-releases 修改classpath 'com.github.dcendents:android-maven-gradle-plugin:X.X.X'中的版本设置
中间过程提交了1.0.2版本不成功是因为提交的记录中可能在jitpack上有缓存,gradle版本一直得不到更新造成的,所以直接提交了v1.0.3
Build starting...
Start: Sat Mar 25 06:58:39 UTC 2017
Git:
1.0.2
commit d46d1c6
Author: phenixBQ
Date: Sat Mar 25 14:54:51 2017 +0800
Run gradle build
Gradle build script
ERROR: Gradle wrapper not found. Please add. Using default gradle to build.
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Djavax.xml.accessExternalSchema=all
Gradle 3.1
Build time: 2016-09-19 10:53:53 UTC
Revision: 13f38ba699afd86d7cdc4ed8fd7dd3960c0b1f97
Groovy: 2.4.7
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_101 (Oracle Corporation 25.101-b13)
OS: Linux 4.4.30-mod-std-ipv6-64 amd64
0m0.664s
Getting a list of gradle tasks
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Djavax.xml.accessExternalSchema=all
FAILURE: Build failed with an exception.
Where:
Build file '/home/jitpack/build/app/build.gradle' line: 1
What went wrong:
A problem occurred evaluating project ':app'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
WARNING:
Gradle 'install' task not found. Please add the 'maven' or 'android-maven' plugin.
See the documentation and examples: https://jitpack.io/docs/
Adding maven plugin
Found android library build file in swipetorefresh
Running: gradle clean -Pgroup=com.github.zhouphenix -Pversion=1.0.2 install
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Djavax.xml.accessExternalSchema=all
Gradle version Gradle 3.1
FAILURE: Build failed with an exception.
Where:
Build file '/home/jitpack/build/app/build.gradle' line: 1
What went wrong:
A problem occurred evaluating project ':app'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.67 secs
EXIT_CODE=1
2017-03-25T06:58:57.883886487Z
Exit code: 1
No build artifacts found
The text was updated successfully, but these errors were encountered: