When I create a new Android Sample Project from eclipse with api level 14, add the compatibility library and try to run it on my gingerbread device. It gave the following error :
Error Inflating Class SwitchPreference
I just commented the SwitchPreference
from the preferences xml file and was able to run the api demos app. But the Fragment(and few others) demos were not available.
Is this expected? should I have a device running api-14 to be able to see the Fragment demos? Am I missing anything in the process of creating the project?
Any help is appreciated.