Skip to content

Namespace not specified using gradle 8.4.0 #343

@latiefdole

Description

@latiefdole

I'm encountering an issue while trying to configure the Flutter Barcode Scanner project. When I try to build the project, I receive the following error message:

A problem occurred configuring project ':flutter_barcode_scanner'.

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.
I have checked the module's build file, but I'm unsure how to correctly specify the namespace. I have also reviewed the Android documentation provided in the error message, but I'm still having trouble resolving the issue.

Could someone please provide guidance on how to properly set the namespace in the build file? Any help or suggestions would be greatly appreciated.

Thank you in advance for your assistance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions