android - AVD rotates 90 degrees but the screen orientation does nothing -


ok, have tried using ctrl f12, ctrl f11, 7, , 9. exact same thing. rotate screen , wait 30 minutes , content on avd not rotate avd. have locked, can see not issue in code. basic code has text on screen. nothing more.

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"     package="org.lineware.scheduler"     android:versioncode="1"     android:versionname="1.0" >      <uses-sdk         android:minsdkversion="14"         android:targetsdkversion="19" />      <application         android:allowbackup="true"         android:icon="@drawable/ic_launcher"         android:label="@string/app_name"         android:theme="@style/apptheme" >         <activity             android:name="org.lineware.scheduler.mainactivity"             android:label="@string/app_name"             android:screenorientation="sensor"             android:configchanges="orientation|screensize" >             <intent-filter>                 <action android:name="android.intent.action.main" />                  <category android:name="android.intent.category.launcher" />             </intent-filter>         </activity>     </application>  </manifest> 

this answer based on comment:

if using latest android avd using 4.4 (kitkat). kitkat avd known have problems rotation (as in: stays in portrait mode though emulator turned 90 degrees).

this known problem reported lot of people , have faced problem myself (see https://code.google.com/p/android/issues/detail?id=61671).

i fixed getting 4.3 sdk , creating avd android version 4.3 (jellybean) not have bug.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -