Since yesterday night, I am getting the problem below with a flutter project. The issue is that I did not change anything so I have no idea what to rollback.
Launching lib/main.dart on INE LX1r in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* Where:
Build file '/home/noor/Documents/SMS/Development/V2/codecanyon-aYr63xj3-fluxstore-woocommerce-flutter-ecommerce-full-app/android/build.gradle' line: 31
* What went wrong:
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
> Could not resolve all artifacts for configuration ':app:classpath'.
> Could not resolve gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.6, 0.99.99].
Required by:
project :app
> No matching variant of gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.13.2 was found. The consumer was configured to find a runtime of a component compatible with Java 8, packaged as a jar, and its dependencies declared externally but:
- Variant 'apiElements' capability gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.13.2 declares a component, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
- Variant 'runtimeElements' capability gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.13.2 declares a runtime of a component, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
* 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
BUILD FAILED in 520ms
Exception: Gradle task assembleDebug failed with exit code 1
Dependency Tree
Cannot put dependency tree here, too long, i placed it in a google doc, here is the link
Since yesterday night, I am getting the problem below with a flutter project. The issue is that I did not change anything so I have no idea what to rollback.
Project Setup
build.gradle
app/build.gradle
Full Error
Dependency Tree Cannot put dependency tree here, too long, i placed it in a google doc, here is the link