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

Unable to build due to configuration issue. #165

Open
vink2212 opened this issue Oct 31, 2024 · 1 comment
Open

Unable to build due to configuration issue. #165

vink2212 opened this issue Oct 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@vink2212
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
Just trying to build the app gives me the error:
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':flutter_keyboard_visibility'.

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.
  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

Expected behavior
App to build as usual

Info (please complete the following information):
flutter_keyboard_visibility version:
Reproducible on platforms (Android, iOS, etc):
Windows when developing using VS code.

flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.22621.4317], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.0 Preview 4.0)
[√] Android Studio (version 2024.2)
[√] VS Code (version 1.94.2)
[√] Connected device (4 available)
[√] Network resources

• No issues found!

Additional context
Add any other context about the problem here.

@vink2212 vink2212 added the bug Something isn't working label Oct 31, 2024
@robotoss
Copy link

robotoss commented Nov 4, 2024

Fix:
#166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants