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

后端 未结 5 1302
余生分开走
余生分开走 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:56

    Go to
    Gradle scripts>build.gradle(module app) > change 'com.android.support:appcompat-v7:28.0.0-alpha3' to 'com.android.support:appcompat-v7:28.0.0-alpha1'

    You may have something other than alpha3 after "-v7:28.0.0-" whatever it is just change it to alpha1.

提交回复
热议问题