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

Flutter sms Problem with namespace #96

Open
WaseemAlBizreh opened this issue Oct 27, 2024 · 7 comments
Open

Flutter sms Problem with namespace #96

WaseemAlBizreh opened this issue Oct 27, 2024 · 7 comments

Comments

@WaseemAlBizreh
Copy link

WaseemAlBizreh commented Oct 27, 2024

A problem occurred configuring project ':flutter_sms'.
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

@WaseemAlBizreh WaseemAlBizreh changed the title Flutter sms Problem whit namespace Flutter sms Problem with namespace Oct 27, 2024
@sachinshrestha483
Copy link

same did you get solution

@WaseemAlBizreh
Copy link
Author

same did you get solution

I tried to specify namespace in module build file, but namespace is already specified

Then I specified package attribute in source AndroidManifest.xml file.
But it didn't work

I tried to update AGP and gradle but it didn't work

I changed package to background_sms
And I faced same issue

Finally, I used gradle 7.6
Then background_sms worked but flutter_sms didn't work

@WaseemAlBizreh
Copy link
Author

I finally figured out that the problem might be caused by the package being old and not compatible with Gradle 8.

@P-yiush07
Copy link

I finally figured out that the problem might be caused by the package being old and not compatible with Gradle 8.

Any ways for fixing it ?
I am developing application for Hackathon, where i have to send message in background. How can i do this ?

@P-yiush07
Copy link

I created the plugin to send background sms, check it out

https://pub.dev/packages/flutter_background_messenger

@aemami76
Copy link

I created the plugin to send background sms, check it out

https://pub.dev/packages/flutter_background_messenger

hey man thank, that works perfectly!

@P-yiush07
Copy link

I created the plugin to send background sms, check it out

https://pub.dev/packages/flutter_background_messenger

hey man thank, that works perfectly!

Thanks for using my package, Don't forget to like it and star it on GitHub

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

No branches or pull requests

4 participants