java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.facialfeatures/com.example.facialfeatures.MainActivity}: java.lang.ClassCastException: android.widget.ImageView cannot be cast to android.widget.TextView
解决方法:把R.java删掉即可,它会自动重建的