Android View inflateException

杀马特。学长 韩版系。学妹 提交于 2019-12-01 11:17:57

From the posted Logcat output:

Caused by: android.view.InflateException: Binary XML file line #9: 
                                           Error inflating class com.boenka.mk.DrawPanel
....
....
Caused by: java.lang.ClassNotFoundException: com.boenka.mk.DrawPanel

It seems that you have accidentally misspelled the custom view's name in your xml layout file:

<com.boenka.mk.DrawPanel
    android:id="@+id/signatureview"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" />

See if changing com.boenka.mk.DrawPanel to com.boenka.mk.DrawingPanel fixes the problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!