zoukankan      html  css  js  c++  java
  • 安卓出现错误: java.lang.ClassCastException: android.widget.TextView cannot be cast to android.widget.EditText

    Caused by: Java.lang.ClassCastException: Android.widget.TextView cannot be cast to android.widget.EditText

    该种报错信息,检查代码确定无误后,若还是出现这种错误,则可通过以下这个办法进行解决:

    点中该项目-->点击Project-->clean   清理下再重新运行该项目,然后就解决了

  • 相关阅读:
    文件路径与操作系统
    试验10
    shiyan9
    sql
    shiyan8
    iostream
    shiyan7
    CDMA
    试验6
    试验5
  • 原文地址:https://www.cnblogs.com/zhangerxiaoma/p/7272676.html
Copyright © 2011-2022 走看看