Skip to content

Can't run on Android because of the dynamic_color dependenciy #117

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

Closed
ben55j opened this issue Jun 28, 2023 · 1 comment · Fixed by #118
Closed

Can't run on Android because of the dynamic_color dependenciy #117

ben55j opened this issue Jun 28, 2023 · 1 comment · Fixed by #118

Comments

@ben55j
Copy link

ben55j commented Jun 28, 2023

Hello,

I am encountering difficulties running my Flutter project on Android due to an issue related to the dynamic_color dependency of the adaptive_dialog package. The project works fine on iOS, but I'm facing problems specifically on Android.

Here is the error message I receive on my console:
'''
Build file '/Users/benjaminazogui/.pub-cache/hosted/pub.dev/dynamic_color-1.6.5/android/build.gradle' line: 27

  • What went wrong:
    A problem occurred evaluating project ':dynamic_color'.

No signature of method: build_4x5nree6l1kdi4oln0m8bs64e.android() is applicable for argument types: (build_4x5nree6l1kdi4oln0m8bs64e$_run_closure2) values: [build_4x5nree6l1kdi4oln0m8bs64e$_run_closure2@1b9a2602]
'''

Here is my Flutter doctor:
'''
flutter doctor -v):
[!] Flutter (Channel stable, 3.10.5, on macOS 13.3.1 22E772610a darwin-x64, locale fr-FR)
! Warning: dart on your path resolves to /usr/local/Cellar/dart/2.10.3/libexec/bin/dart,
which is not inside your current Flutter SDK checkout at
/Users/benjaminazogui/Developer/flutter. Consider adding
/Users/benjaminazogui/Developer/flutter/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.79.2)
[✓] Connected device (3 available)
[✓] Network resources

'''

Any help would be much appreciated !
Thank you,
Benjamin

@github-project-automation github-project-automation bot moved this to Todo in mono OSS Jun 28, 2023
@mono0926 mono0926 linked a pull request Jun 29, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from Todo to Done in mono OSS Jun 29, 2023
@mono0926
Copy link
Owner

@ben55j

Thanks.
Example is also broken, and fixed by #118.
Your project should be able to be fixed similarly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants