AmolGangadhare / flutter_barcode_scanner

Barcode scanner plugin for flutter. Supports barcode scanning for Android and iOS
https://pub.dev/packages/flutter_barcode_scanner
MIT License
380 stars 480 forks source link

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

Open roubledodemiamgasoni opened 4 days ago

roubledodemiamgasoni commented 4 days ago

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 commented 2 days ago

same issue here

snrguy101 commented 2 days ago

Same Issue