Int.xdip/Int.ydip & Float.xdip/Float.ydip cause crash on Kotlin 1.4.30
See original GitHub issueThis can be easily reproduced by changing the dependency on the sample app from the module to the binary:
implementation project(':contour')
-> implementation 'app.cash.contour:contour:1.0.0'
Here’s the stack trace:
java.lang.NoSuchMethodError: No virtual method getYdip-dBGyhoQ(I)I in class
Lcom/squareup/contour/sample/SampleView; or its super classes (declaration of
'com.squareup.contour.sample.SampleView' appears in /data/app/~~0Ba-
93BI78uARYazH4agJA==/com.squareup.contour.sample-VKrVvhwusycb2ElCbF70RQ==/base.apk!classes2.dex)
at com.squareup.contour.sample.SampleView$3.invoke(SampleView.kt:56)
Int.dip
doesn’t seem to be an issue.
At least on my project, reverting to 1.4.21 fixes the issue immediately.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6
Top Results From Across the Web
What's new in Kotlin 1.4.30
Kotlin 1.5.0 is going to deliver new language features – JVM records support, sealed interfaces, and Stable inline classes. In Kotlin 1.4.30, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
1.1.0 has been released.
Yep, we’ll make a release soon!