Using Compose in Android Studio, I pretty much have to clean & build every time, or the app crashes on launch:
java.lang.NoSuchMethodError: No direct method <init>(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Lkotlin/jvm/functions/Function3;)V in class Lcom/acompany/weightr/features/Screen; or its super classes
..
If I make any code edits and try to deploy the app, I get this crash almost every time. Cleaning, building and running again always fixes the issue.
Has anyone else encountered this, and is it tracked anywhere?
l
Leland Richardson [G]
03/11/2021, 12:50 AM
Can you file a bug on this? If you can, please specify device and OS version etc.