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

missing namespace when upgrade gradle 8.0.0 and support flutter 3.10 #47

Open
saharvx9 opened this issue May 18, 2023 · 9 comments · May be fixed by #53
Open

missing namespace when upgrade gradle 8.0.0 and support flutter 3.10 #47

saharvx9 opened this issue May 18, 2023 · 9 comments · May be fixed by #53

Comments

@saharvx9
Copy link

Getting thir error when upgrade to flutter 3.10

A problem occurred configuring project ':flutter_jailbreak_detection'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Please specify a namespace in the module's build.gradle file like so:

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':flutter_jailbreak_detection'.
@MakamuEvans
Copy link

Got a solution to this?

@techouse
Copy link

Got a solution to this?

Porobably manually modifying the package's build.gradle file. :/

@PradipDhanraj
Copy link

any work around solution for this?

@Dimple-Kharbanda
Copy link

Any solution on this issue?

@naninydhruva
Copy link

Hello Guys,
this package is going out of support for the latest android version, kindly please release a version by updating the gradle of this package to support for latest android versions.

@Parmanand-Singh
Copy link

I am facing similar issue, Any solution?

@NoveshikSewani-10
Copy link

Are there any potential remedies for this issue?

@techouse
Copy link

techouse commented Dec 4, 2023

I have created PR #53 which fixes this issue. I guess you can reference it directly in your pubspec.yaml until it gets merged into master.

@LiveRock
Copy link

Add namespace and jvmtarget as below to build.gradle in the pub.dev

android {
    compileSdkVersion 33

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }
    defaultConfig {
        minSdkVersion 17
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }

    namespace 'appmire.be.flutterjailbreakdetection'
}

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

Successfully merging a pull request may close this issue.

9 participants