就这样 新建一个工程,
没有添加和修改任何东西,
模拟器显示 Unfortunately hello has stopped
logcat 如下:
07-15 07:48:33.481: E/AndroidRuntime(1567): FATAL EXCEPTION: main
07-15 07:48:33.481: E/AndroidRuntime(1567): Process: com.example.hello, PID: 1567
07-15 07:48:33.481: E/AndroidRuntime(1567): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hello/com.example.hello.MainActivity}: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
07-15 07:48:33.481: E/AndroidRuntime(1567): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2197)