I want to listen the orientation changed
but it dose not work in SDK 4.0
and i found that the Manifest have to modify android:configChanges=”orientation”
to android:configChanges=”orientation|screenSize”
but it has an error :
then i found that i do not have the option of “screenSize” in Manifest
Screen Shot of config option in Manifest
and the error message is
error: Error: String types not allowed (at 'configChanges' with value 'orientation|
ScreenSize').
what is wrong about my Manifest?
In manifest you have to add the below line. you had entered the wrong syntax that’s why it is showing error.