jonataslaw / jonataslaw/VideoCompress

Supports only Kotlin Gradle plugin version 1.3.40 and higher.

Open
#130 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
262
Forks
344
PR merge metrics
No merged PRs in 30d

Description

Android studio not able to build gradle
-Android studio arctic fox
-Gradle
classpath 'com.android.tools.build:gradle:7.0.0'
-Kotlin
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21"

![image](https://user-images.githubusercontent.com/7616089/129131154-7f31002b-4238-4508-9e27-cdfdc1fdd264.png)

FAILURE: Build failed with an exception.

* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.40 and higher.
The following dependencies do not satisfy the required version:
project ':video_compress' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.31

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s

Flutter Doctor -v

[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19043.1165], locale en-IN)
• Flutter version 2.2.3 at A:\flutter
• Framework revision f4abaa0735 (6 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc5)
• Android SDK at A:\android-sdk\
• Platform android-31, build-tools 31.0.0-rc5
• Java binary at: A:\android-studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio
• Android Studio at A:\android-studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = A:\android-studio
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] IntelliJ IDEA Community Edition (version 2020.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.2
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart

[√] Connected device (2 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.131
• Edge (web) • edge • web-javascript • Microsoft Edge 92.0.902.67

• No issues found!

Contributor guide

No contributing guide indexed for this repository

Research direction

The report identifies the Android Studio Gradle configuration and the Kotlin plugin versions, but names no repository file or test. Start by locating the Android Gradle plugin and Kotlin declarations, then reproduce the build failure. Done means the project builds without the reported Kotlin Gradle plugin version error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, flutter, kotlin
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.