错误说明 :
An exception occurred applying plugin request [id: 'com.android.application']
Minimum supported Gradle version is 6.5. Current version is 4.8.1. If using the gradle wrapper
Minimum supported Gradle version is 6.5. Current version is 4.8.1. If using the gradle wrapper
* Where:
Build file '/home/jitpack/build/app/build.gradle' line: 2
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application']
> Failed to apply plugin [id 'com.android.internal.version-check']
> Minimum supported Gradle version is 6.5. Current version is 4.8.1. If using the gradle wrapper, try editing the distributionUrl in /home/jitpack/build/gradle/wrapper/gradle-wrapper.properties to gradle-6.5-all.zip
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
!!!解决方案: 项目种的gradle文件夹(编译文件夹)提交到Github
image.png