-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add namespace to support Android Gradle Plugin (AGP) 8.x.x #198
Comments
Thanks for opening this issue! We'll get back to you shortly. If it is a bug, please make sure to add steps to reproduce the issue. |
Hey @@xavierraffin |
We use |
We tried to use the Github version directly but it is complex to do in our build pipeline. |
We are actively working on it and will try to provide support for AGP version |
Which version of gradle will allow the current sdk (will not strict check for namespace) |
@Sumant-Grexa Any Gradle version before |
Hey @xavierraffin, |
Hey @1abhishekpandey, Glad to see the new update. Meanwhile we are using Because rudder_integration_firebase_flutter 1.0.1 depends on rudder_sdk_flutter ^2.1.2 and no versions of rudder_integration_firebase_flutter match >1.0.1 <2.0.0, rudder_integration_firebase_flutter ^1.0.1 requires rudder_sdk_flutter ^2.1.2. Can we do something here. |
Please use the latest version: |
After upgrading both the packages Because no versions of rudder_sdk_flutter match >3.1.0 <4.0.0 and rudder_sdk_flutter 3.1.0 depends on rudder_plugin_web ^3.0.2, rudder_sdk_flutter ^3.1.0 requires rudder_plugin_web ^3.0.2. |
This error is due to the use of a different version of I would propose to update the Also, you can try loading our Flutter SDK in a sample Flutter project without any other dependency to see if this issue happens or not. |
Yes I got the root cause. |
Regarding this:
You have two options:
|
Some packages I am using in my Flutter app requires Android SDK target version 35. But this SDK version require to update Gradle to version 8.
I tried upgrading my project Android Gradle Plugin (AGP) from 7.4.2 to 8.1.0 using AGP Upgrade Assistant in Android Studio but it failed. AGP 8.x.x force the use of namespace in the module's build.gradle file. This is the error I'm getting due to no namespace:
This can be fixed manually by adding a namespace in the module's build.gradle file like this:
The text was updated successfully, but these errors were encountered: