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

Android getting error: Namespace not specified #45

Open
ekansh-soni opened this issue Feb 28, 2025 · 1 comment
Open

Android getting error: Namespace not specified #45

ekansh-soni opened this issue Feb 28, 2025 · 1 comment

Comments

@ekansh-soni
Copy link

after updating to gradle 8.10.2 it started reflacting the error
Android getting error: Namespace not specified

@istiaksaif
Copy link

update this in android/build.gradle

subprojects {
    afterEvaluate { project ->
        if (project.hasProperty('android')) {
            project.android {
                if (namespace == null) {
                    namespace project.group
                }
                if(namespace.contains('flutter_windowmanager')){
                    compileSdkVersion 35
                }
            }
        }
    }
}
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
    project.evaluationDependsOn(':app')
}

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

2 participants