Egret社区

[Bug处理中] 发布原生项目 报错

2019-4-22 18:23
8783
产品 Egret Android Support 版本 最新
复现概率 100% 平台 Android 最新
复现步骤 新建了一个 5.2.18的DEMO项目,直接打包安卓,android studio 中 发布apk包的时候 报错。没有更改任何东西。
问题描述 新建了一个 5.2.18的DEMO项目,直接打包安卓,android studio 中 发布apk包的时候 报错。没有更改任何东西。
错误代码 The project is using an unsupported version of Gradle.
Please point to a supported Gradle version in the project's Gradle settings or in the project's Gradle wrapper (if applicable.)
Fix Gradle wrapper and re-import project
Open Gradle wrapper properties
Gradle settings
BUG截图

分享到 :
0 人收藏

3 个回复

倒序浏览
ninety  登堂入室 | 2019-4-22 18:25:57
点 Fix Gradle wrapper and re-import project 修复 后报:

Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V'.
Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)

The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)

Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
ninety  登堂入室 | 2019-4-22 19:21:04
可能解决了, as版本不能太高,我升级到3.4不行,退回到3.2  
点 Fix Gradle wrapper and re-import project 修复 后 就正常了。
冰湖  官方团队 | 2019-4-22 19:22:32
你好 ,我这边试了发布安卓没问题的
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|京网文[2014]0791-191号|京ICP证150115号|Egret社区 ( 京ICP备14025619号 )

Powered by Discuz! X3.4 © 2001-2019 Comsenz Inc.

返回顶部