java.lang.NoSuchMethodError in release version when using MapCompose 2.3.0 #78
-
I upgraded the version of MapCompose in my app to
Seems like a code-shrinking-related issue since it doesn't happen in debug variant, but I cannot get rid of it, so any help is appreciated. I've tried looking into ProGuard's report and adding instructions like |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 16 replies
-
The thing is that I don't see such constructor of |
Beta Was this translation helpful? Give feedback.
-
I also have this issue but I don't understand what is going on. There must be some incompatibility of some sort because proguard is disabled on MapCompose build. |
Beta Was this translation helpful? Give feedback.
-
Interestingly enough, when I generate a release build of MapCompose with Kotlin reverted to 1.7.10 and Compose compiler reverted to 1.3.1, the issue goes away. |
Beta Was this translation helpful? Give feedback.
-
My message above made me think of a cache issue. So i went back to my app, reverted everything (back to MapCompose 2.3.0), and ran a gradle clean and invalidate cache & restart of Android studio.
Then, the release build worked fine.. |
Beta Was this translation helpful? Give feedback.
My message above made me think of a cache issue. So i went back to my app, reverted everything (back to MapCompose 2.3.0), and ran a gradle clean and invalidate cache & restart of Android studio.
I also added a dependency in my app :
Then, the release build worked fine..
Interesting to note that without that added dependency, the issue happens.