[Android Q&A, Help & Troubleshooting] chinkl75:
Hi I need help

There is some frustration and hence I hope you can help.... Thanks in advance

I build the default HelloWorld (did not change anything) in my new laptop with windows8. Emulator is working well at first.

But the emulator gives the following message when I download the APK to the emulator by pressing “run as Android application”. On the emulator, it display “Unfortunately, HelloWorld has stopped.”

What could be wrong? I tried to clean project, delete project, rename project, restart eclipse but none work. I try to re-configure emulator ram and etc… doesn’t work as well.

Pls help me.

[2014-09-21 14:04:48 - HelloWorld] ------------------------------

[2014-09-21 14:04:48 - HelloWorld] Android Launch!

[2014-09-21 14:04:48 - HelloWorld] adb is running normally.

[2014-09-21 14:04:48 - HelloWorld] Performing com.example.helloworld.MainActivity activity launch

[2014-09-21 14:04:48 - HelloWorld] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 's5'

[2014-09-21 14:04:48 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'

[2014-09-21 14:04:49 - HelloWorld] Installing HelloWorld.apk...

[2014-09-21 14:04:55 - HelloWorld] HOME is up on device 'emulator-5554'

[2014-09-21 14:04:55 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'

[2014-09-21 14:04:56 - HelloWorld] Installing HelloWorld.apk...

[2014-09-21 14:04:57 - HelloWorld] Success!

[2014-09-21 14:04:57 - HelloWorld] Starting activity com.example.helloworld.MainActivity on device emulator-5554

[2014-09-21 14:05:01 - HelloWorld] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.helloworld/.MainActivity }

[2014-09-21 14:05:01 - HelloWorld] Installation failed due to invalid URI!

[2014-09-21 14:05:01 - HelloWorld] Please check logcat output for more details.

[2014-09-21 14:05:01 - HelloWorld] Launch canceled!

LogCat output gives the following:

09-21 05:05:57.670: D/AndroidRuntime(749): Shutting down VM

09-21 05:05:57.670: W/dalvikvm(749): threadid=1: thread exiting with uncaught exception (group=0xb1af7d70)

09-21 05:05:57.690: E/AndroidRuntime(749): FATAL EXCEPTION: main

09-21 05:05:57.690: E/AndroidRuntime(749): Process: com.example.helloworld, PID: 749

09-21 05:05:57.690: E/AndroidRuntime(749): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.helloworld/com.example.helloworld.MainActivity}: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2197)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2258)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.app.ActivityThread.access$800(ActivityThread.java:138)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1209)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.os.Handler.dispatchMessage(Handler.java:102)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.os.Looper.loop(Looper.java:136)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.app.ActivityThread.main(ActivityThread.java:5026)

09-21 05:05:57.690: E/AndroidRuntime(749):	at java.lang.reflect.Method.invokeNative(Native Method)

09-21 05:05:57.690: E/AndroidRuntime(749):	at java.lang.reflect.Method.invoke(Method.java:515)

09-21 05:05:57.690: E/AndroidRuntime(749):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)

09-21 05:05:57.690: E/AndroidRuntime(749):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)

09-21 05:05:57.690: E/AndroidRuntime(749):	at dalvik.system.NativeStart.main(Native Method)

09-21 05:05:57.690: E/AndroidRuntime(749): Caused by: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.

09-21 05:05:57.690: E/AndroidRuntime(749):	at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:275)

09-21 05:05:57.690: E/AndroidRuntime(749):	at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2872)

09-21 05:05:57.690: E/AndroidRuntime(749):	at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3129)

09-21 05:05:57.690: E/AndroidRuntime(749):	at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:303)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.app.Activity.setContentView(Activity.java:1930)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.support.v7.app.ActionBarActivity.superSetContentView(ActionBarActivity.java:217)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.support.v7.app.ActionBarActivityDelegateICS.setContentView(ActionBarActivityDelegateICS.java:110)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:77)

09-21 05:05:57.690: E/AndroidRuntime(749):	at com.example.helloworld.MainActivity.onCreate(MainActivity.java:13)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.app.Activity.performCreate(Activity.java:5242)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)

09-21 05:05:57.690: E/AndroidRuntime(749):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2161)

09-21 05:05:57.690: E/AndroidRuntime(749):	... 11 more

09-21 05:10:57.930: I/Process(749): Sending signal. PID: 749 SIG: 9