-
-
Notifications
You must be signed in to change notification settings - Fork 225
Adding glance-material3 is breaking the build in Debug mode #281
Unanswered
amaan-0331
asked this question in
Help and Q&A
Replies: 1 comment · 1 reply
-
Can you try to enable Multidex? Especially as it seems to be working on a minified build (release) this might the issue |
Beta Was this translation helpful? Give feedback.
All reactions
1 reply
-
No, it's not working and multidex is enabled by default. but seems like a dexing issue. I am getting the below error from Android Studio.
and this is the closest SO question I found, no answers there either. Might also be a grade version incompatible issue, but I am not very good with Android, so I'm still stuck. |
Beta Was this translation helpful? Give feedback.
All reactions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a demo project to showcase home_widget. I am using Jetpack Glance on the native side.
The app was building fine when I added the
implementation("androidx.glance:glance-appwidget:1.1.0")
But when I added the
implementation("androidx.glance:glance-material3:1.1.0")
The app is not building because of the below error,
But interestingly, when I am building with the release mode, the app is building just fine. I tried cleaning the project and the gradle but still the same results.
I also tried creating a new project and adding those two dependencies to check if they worked. but the same build was happening in them too.
This is the project url. I am pretty clueless and would appreciate any help, guidance, or advice.
Beta Was this translation helpful? Give feedback.
All reactions