Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Trying to run project #7

Closed
rlee1990 opened this issue Jun 24, 2021 · 0 comments
Closed

[BUG] Trying to run project #7

rlee1990 opened this issue Jun 24, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rlee1990
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants