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
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
2 matches
Mail list logo