How to check exception ? On crash it just shows Close app dialogue box. To check what is the crash open adb logs and check.
<User_home_directory>/Library/android/sdk/platform-tools/adb logcat
This command shows below exception
Exception : java.lang.RuntimeException: Unable to start activity ComponentInfo{/.MainActivity}: java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
Fix For this :
Remove android:screenOrientation from your application manifest xml