I have a ClassCastException being thrown saying that I’m trying to cast a SeekBar as a Button but I’ve looked over my code 50 times and not once do I try to cast a SeekBar as a Button. How can I find out what line this apparent class mis-cast is on?
Thank you.
That information is available in the LogCat. See this link for details on how to use it.
If you are sure you are not doing such a cast, then clean the project by running
ant clean(command line), or going toProject -> Build -> Clean(eclipse)