missing namespace when upgrade gradle 8.0.0 and support flutter 3.10
Opened this issue · 9 comments
saharvx9 commented
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 commented
Got a solution to this?
techouse commented
Got a solution to this?
Porobably manually modifying the package's build.gradle file. :/
PradipDhanraj commented
any work around solution for this?
Dimple-Kharbanda commented
Any solution on this issue?
naninydhruva commented
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 commented
I am facing similar issue, Any solution?
NoveshikSewani-10 commented
Are there any potential remedies for this issue?
techouse commented
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 commented
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'
}