android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar android android

android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar


4.4W is Android Wear SDK. (dont target to android wear device)

try changing target sdk version to 19

check here targetSdkVersion setting

Do not use API Level of 20 and Platform 4.4W (which is Android Wear SDK) as Android Virtual Device.

Use API level 19 and platform 4.4.2 everything works fine.


I had the same issue. But sdk version was not the cause for this exception.

In the AndroidManifest.xml file you have the theme has ActionBar in it.

android:theme="@style/AppTheme" >

Change the above line to

android:theme="@android:style/Theme.DeviceDefault" >

That will fix the exception.


4.4W is Android Wear SDK.

This error is because the device you are targeting is Android Wear which has a different design pattern.

If you are developing a mobile application, change your AVD and target any API below 20 or choose API 20 (L preview).

Or if you are really targeting for Android Wear, change your app design.