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

bug: Can`t build android apk. #75

Closed
KavinduDhananjaya opened this issue Jan 4, 2025 · 3 comments
Closed

bug: Can`t build android apk. #75

KavinduDhananjaya opened this issue Jan 4, 2025 · 3 comments
Assignees
Labels
bug Something isn't working wip This issue is working in progress

Comments

@KavinduDhananjaya
Copy link

Describe the bug

got a error when creating a release apk.

dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.8
logto_dart_sdk: ^2.1.0

This is the error msg:

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

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.

@KavinduDhananjaya KavinduDhananjaya added the bug Something isn't working label Jan 4, 2025
@xiaoyijun
Copy link

Hi @KavinduDhananjaya , this issue is caused by the new version of the Android Gradle Plugin (v8.0.0), which requires all modules to declare a namespace. You can refer to the following resource and try to resolve the issue:
https://stackoverflow.com/questions/76108428/how-do-i-fix-namespace-not-specified-error-in-android-studio

@LBF38
Copy link

LBF38 commented Jan 8, 2025

Hi there,
This issue is caused by the flutter_web_auth deps in the logto_dart_sdk package.
I think they are currently working on this issue w/ the PR #74 .

@simeng-li simeng-li assigned simeng-li and unassigned xiaoyijun Jan 17, 2025
@simeng-li simeng-li added the wip This issue is working in progress label Jan 21, 2025
@simeng-li
Copy link
Contributor

#76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wip This issue is working in progress
Development

No branches or pull requests

4 participants