Android Studio 3.1 does not render xml file due to a java class missing

后端 未结 5 1303
余生分开走
余生分开走 2020-12-29 09:55

Always shows me the error in the massages

java.lang.ClassNotFoundException: android.view.View$OnUnhandledKeyEventListener

My pr

5条回答
  •  误落风尘
    2020-12-29 10:52

    You can fix it easily.

    Open build.gradle(Module: app) under Gradle Scripts and update the version of appcompat to given below and Sync now

    implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
    

提交回复
热议问题