-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gradle build tools 2.1.3 上传失败 #11
Comments
@motcwang 麻烦附一下失败日志,我猜不出原因 |
我这里是这个类报错了,我换成2.1.2是好的 |
@motcwang 请问一下,你换回2.1.2的时候gradle的版本也还是2.14.1吗? |
2.1.2的时候 gradle版本是2.10。
|
@motcwang 我刚才试了一下,当前脚本对应的gradle版本最多能支持到2.13。 |
@msdx gradle版本2.14.1的时候,那两个插件也都是1.5和1.7么?还是说只把android-maven-gradle-plugin升级到了1.5,bintray-plugin还是保持之前的1.3呢? |
O。O,我知道问题所在了。bintray-plugin版本是在1.6。在1.3的话确实会有问题。 |
@motcwang 已经更新了脚本,谢谢提出。 |
@msdx �嗯,刚才我也测试了,bintray-plugin用1.6是可以的。 |
@msdx 不移除mavenCentralSync,bintray-plugin用1.6是可以的,版本如下:
bintray最新的1.7是会直接报错的。 |
嗯。我把mavenCentralSync也移除了。 |
所以bintray插件1.7版本暂时是不支持的吧? |
@motcwang 我这边试了一下,可以。版本如下:
|
嗯,刚刚测试了一下。关闭这个issues了。 |
今天更新stable Android Studio 2.2 , com.android.tools.build:gradle:2.2.0其他version如下:
报错如下:
|
从提示信息来看,应该是某个gradle插件使用了Java8来编译的,而你在构建时编译的JDK版本为7或其以下,导致报的这个问题。 |
这个问题看起来与我的脚本无关。 |
嗯,刚才我看到了,刚刚我也查了一下。和你的脚本无关,Java 8加载类文件版本52 |
@motcwang 我也遇到了这个问题,你是怎么解决的呀 |
@wangankang gradle build plugin 2.2版本以上的需要使用JDK8来编译 |
恩。解决了,多谢 |
gradle version:
gradle-2.14.1
com.android.tools.build:gradle:2.1.3
The text was updated successfully, but these errors were encountered: