Re: [android-developers] java.lang.ClassCastException: android.widget.EditText

2011-08-20 Thread Mark Murphy
Try cleaning your project (Project > Clean from the Eclipse main menu, or ant clean from the command line). Typically, I find that these ClassCastExceptions are because the widget IDs are out of sync between the resources in the APK file and your already-compiled .class files. Cleaning the project

[android-developers] java.lang.ClassCastException: android.widget.EditText

2011-08-20 Thread Spica
I removed EditText from my layout and after that i started getting "Force close" error. My app is not starting at all. Here is the trace i captured with logcat; = E/AndroidRuntime( 1335): FATAL EXCEPTION: main E/AndroidRuntime( 1335): java.lang.R