-
Notifications
You must be signed in to change notification settings - Fork 75
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
🐛 Namespace issue with package: flutter_foreground_task #1736
Comments
Hello! Thank you for filing an issue. Please include relevant logs or detailed description for faster resolutions. We really appreciate your contribution! |
hey @Mind-Reaper |
@ygit |
@Mind-Reaper Can you try a version in the |
Trying that now |
@ygit That works.
|
Hi @Mind-Reaper can you try adding below code in the android section
|
Not working I tried adding this
Still getting the same error related to this package |
@Mind-Reaper have you set the gradle JDK to 17 in android studio ? |
Hi @ygit. I tried this too. Still no solution. I noticed some of the sample projects use jvm 1.8. Do you think it could be the Kotlin version cause I have a more recent one on my project? |
hey @Mind-Reaper Try setting -
Refer to the attached screenshot. Alternatively, can you share your Android project's |
Just to make things clear. Do you want me to make these changes in my project android directory or in a forked repository of hmssdk ? |
app/build.gradle
android/build.gradle
settings.gradle
|
hey @Mind-Reaper |
@ygit Done, Thanks |
@Mind-Reaper closing the issue as this is solved. |
I am having the same issue. |
@rlee1990 |
@Decoder07 I have it working this can be closed. |
Description
Trying to build for Android results in a namespace compile error caused by the version of flutter_foreground_task being used by the package.
100ms Flutter Version
3.19.3
Steps to reproduce
Expected results
Build app and run successfully
Code example, screenshot, or link to a repository
.
Logs
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
A problem occurred configuring project ':flutter_foreground_task'.
2: Task failed with an exception.
Failed to query the value of property 'buildFlowServiceProperty'.
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: