You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the below error when I try to run in debug mode on an android device.
1: Task failed with an exception.
-----------
* Where:
Build file '/Users/rickeylee/.pub-cache/hosted/pub.dartlang.org/connectivity_plus-1.0.4/android/build.gradle' line: 22
* What went wrong:
A problem occurred evaluating project ':connectivity_plus'.
> Could not get unknown property 'javaToolchains' for task ':agora_uikit:compileDebugAndroidTestJavaWithJavac' of type org.gradle.api.tasks.compile.JavaCompile.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* Where:
Script '/Users/rickeylee/Desktop/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 346
* What went wrong:
A problem occurred configuring project ':connectivity_plus'.
> Could not get unknown property 'android' for project ':connectivity_plus' of type org.gradle.api.Project.
This started after I ran get package.
I have ran flutter clean issue remains.
Flutter Doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.57.1)
[✓] Connected device (4 available)
The text was updated successfully, but these errors were encountered:
I am getting the below error when I try to run in debug mode on an android device.
This started after I ran get package.
I have ran flutter clean issue remains.
Flutter Doctor:
The text was updated successfully, but these errors were encountered: