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

A problem occurred configuring project ':blue_thermal_printer'. #214

Open
mohammadunnabi opened this issue Oct 10, 2024 · 3 comments
Open

Comments

@mohammadunnabi
Copy link

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.
@mohammadunnabi
Copy link
Author

Failed to query the value of property 'buildFlowServiceProperty'.

Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@5722b630 of type BuildFlowService.Parameters
A problem occurred configuring project ':blue_thermal_printer'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.

@probuse
Copy link

probuse commented Oct 14, 2024

@mohammadunnabi
Clone the blue_thermal_printer repository into a folder called packages(located in the same folder as pubspec.yaml)
the add blue_thermal_printer like shown in the image below in your pubspec.yaml
Screenshot 2024-10-14 at 19 38 08
Then add name space in build.gradle for blue_thermal_printer as shown in the image below
Screenshot 2024-10-14 at 19 38 56
Then run flutter clean

@vijayvaghela72
Copy link

@mohammadunnabi Clone the blue_thermal_printer repository into a folder called packages(located in the same folder as pubspec.yaml) the add blue_thermal_printer like shown in the image below in your pubspec.yaml Screenshot 2024-10-14 at 19 38 08 Then add name space in build.gradle for blue_thermal_printer as shown in the image below Screenshot 2024-10-14 at 19 38 56 Then run flutter clean

Thanks

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

3 participants