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

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. #362

Open
roubledodemiamgasoni opened this issue Oct 8, 2024 · 7 comments

Comments

@roubledodemiamgasoni
Copy link

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.

[√] Flutter (Channel stable, 3.24.2, on Microsoft Windows [versÆo 10.0.22631.4169], locale pt-BR)
• Flutter version 3.24.2 on channel stable at c:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 4cf269e36d (5 weeks ago), 2024-09-03 14:30:00 -0700
• Engine revision a6bd3f1de1
• Dart version 3.5.2
• DevTools version 2.37.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at C:\Users\roubl\AppData\Local\Android\sdk
• Platform android-34, build-tools 35.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.5.5)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.5.33627.172
• Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2024.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[√] VS Code (version 1.94.0)
• VS Code at C:\Users\roubl\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.98.0

[√] Connected device (4 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [versÆo 10.0.22631.4169]
• Chrome (web) • chrome • web-javascript • Google Chrome 129.0.6668.89
• Edge (web) • edge • web-javascript • Microsoft Edge 129.0.2792.79

@Kiens8
Copy link

Kiens8 commented Oct 9, 2024

same issue here

@snrguy101
Copy link

Same Issue

1 similar comment
@EbramShereen
Copy link

Same Issue

@alistair-riskmemo
Copy link

Same here - there's a pull request to add the namespace to the build gradle. Will it be published soon?

@GianCarloRumachella
Copy link

Same here, but is there a way to fix it until the package be updated?

@SpecieX
Copy link

SpecieX commented Nov 1, 2024

Sadly, this seems dead. 3 years without maintenance. Guess it's better to look for a replacement. Do somebody know of a good one?

@kurtiz
Copy link

kurtiz commented Nov 7, 2024

This issues was resolved here
check it out. struggled a bit too

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

8 participants