错误:找不到 Gradle 包装器请加使用默认 gradle 构建

问题描述

尝试将库发布到 jitpack.io 时发生以下错误:

Found Android manifest
Android SDK version: 29. Build tools: 30.0.2
Installing Android platform 29
Installing Build-tools 30.0.2 
Found gradle
Gradle build script

**WARNING: gradle/wrapper/gradle-wrapper.jar does not exist! Needs to be committed.**

**ERROR: Gradle wrapper not found. Please add. Using default gradle to build.**

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2

Welcome to Gradle 4.8.1!

Here are the highlights of this release:
 - Dependency locking
 - Maven Publish and Ivy Publish plugins improved and marked stable
 - Incremental annotation processing enhancements
 - APIs to configure tasks at creation time

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)