Resolving ClassCastException using ADT’s visual designer
Recently when maintaining an old android program I encountered a strange exception when attempting to view a layout in visual designer: error! ClassCastException: com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup Exception details are logged in Window > Show View > Error…