What you mention in your question that you tried:
android:configChanges="orientation|keyboardHidden|screenSize"
only serves to not destroy the Activity
when rotating the device but does not serve in any way to allow the rotation.
Check within your AndroidManifest.xml
if you do not have an orientation defined, either in the application or in an Activity:
android:screenOrientation="< orientación >".
If you defined
android:screenOrientation="portrait"
would only allow vertical orientation.
If you defined
android:screenOrientation="lanscape"
would only allow horizontal orientation.
Programatically you can do the same, check if the orientation is not blocked:
@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
//Define únicamente orientación vertical.
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
}
The other option is that in the settings of your device this rotation is blocked! = P