3

Just create empty project and inherit my activity from AppCompatActivity() cause error in LogCat each time app running.

androidx.core.view.ViewCompat$OnUnhandledKeyEventListenerWrapper>: java.lang.NoClassDefFoundError

When I change AppCompatActivity() to regular Activity() everething works fine without warning pointed above.

P.S Please, don`t write that it is just warning, I know. Bul also want to know how to fix or hide it.

Sever
  • 2,338
  • 5
  • 35
  • 55
  • What makes you think that there is something wrong? These sorts of warnings show up from time to time, due to some of the sophisticated stuff going on (e.g., multidex, Instant Run). – CommonsWare Jul 04 '19 at 22:43
  • Seems like you`re right. Thank you. – Sever Jul 04 '19 at 23:01

0 Answers0