I created an android project in eclipse that had a custom MySurfaceView object that was a subclass of SurfaceView and was declared in the layout. I refactored this project several times.
When I tried to run it, it blew up immediately. I used adb.exe logcat to look at the logs and it was having trouble “inflating” MySurfaceView - couldn’t find the class. After wasting lots of time, I suspected that the project wasn’t being built correctly. I created a new ASurfaceView class and put all the MySurfaceView stuff in it so it was identical except for the name. I then deleted MySurfaceView.java. I changed the layout xml to refer to the new ASurfaceView. The problems was fixed --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

