Help with ADT

  • Replies:1
Marcatus
  • Forum posts: 2

Jul 15, 2014, 6:36:59 AM via Website

I'm having difficulty to run a simple hello world project on AVD. In the console it says:

"[2014-07-14 21:32:56 - TryApp] Installing TryApp.apk... [2014-07-14 21:35:09 - TryApp] Failed to install TryApp.apk on device 'emulator-5554! [2014-07-14 21:35:09 - TryApp] (null) [2014-07-14 21:35:09 - TryApp] Launch canceled!"

Also when i first created the project the console had some warnings:

"[2014-07-14 21:26:01 - appcompat_v7] WARNING: unable to write jarlist cache file C:\Users\Marcatus X\workspace\appcompat_v7\bin\jarlist.cache [2014-07-14 21:26:01 - appcompat_v7] WARNING: unable to write jarlist cache file C:\Users\Marcatus X\workspace\appcompat_v7\bin\jarlist.cache"

I believe I installed eclipse and adt correctly. The ADT bundle had some issues so i had to download everything separately and put them in the same folder. The eclipse says its Luna, and installed the latest Android SDK tools 23.0.2. I would appreciate any help to get me going in Android development.

Reply
Marcatus
  • Forum posts: 2

Jul 15, 2014, 6:37:32 AM via Website

So I tried to run again. Its says in the emulator: :"Tryapp has stopped"
And i get an error in the logcat
"07-15 02:48:47.680: I/Process(834): Sending signal. PID: 834 SIG: 9
07-15 02:51:16.800: D/AndroidRuntime(876): Shutting down VM
07-15 02:51:16.800: W/dalvikvm(876): threadid=1: thread exiting with uncaught exception (group=0xb3ac5d70)
07-15 02:51:16.840: E/AndroidRuntime(876): FATAL EXCEPTION: main
07-15 02:51:16.840: E/AndroidRuntime(876): Process: com.example.tryapp, PID: 876
07-15 02:51:16.840: E/AndroidRuntime(876): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.tryapp/com.example.tryapp.MainActivity}: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
07-15 02:51:16.840: E/AndroidRuntime(876): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2197)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2258)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.app.ActivityThread.access$800(ActivityThre ad.java:138)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1209)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.os.Handler.dispatchMessage(Handler.java:10 2)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.os.Looper.loop(Looper.java:136)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.app.ActivityThread.main(ActivityThread.jav a:5026)
07-15 02:51:16.840: E/AndroidRuntime(876): at java.lang.reflect.Method.invokeNative(Native Method)
07-15 02:51:16.840: E/AndroidRuntime(876): at java.lang.reflect.Method.invoke(Method.java:515)
07-15 02:51:16.840: E/AndroidRuntime(876): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:777)
07-15 02:51:16.840: E/AndroidRuntime(876): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:602)
07-15 02:51:16.840: E/AndroidRuntime(876): at dalvik.system.NativeStart.main(Native Method)
07-15 02:51:16.840: E/AndroidRuntime(876): Caused by: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
07-15 02:51:16.840: E/AndroidRuntime(876): at com.android.internal.policy.impl.PhoneWindow.reque stFeature(PhoneWindow.java:275)
07-15 02:51:16.840: E/AndroidRuntime(876): at com.android.internal.policy.impl.PhoneWindow.gener ateLayout(PhoneWindow.java:2872)
07-15 02:51:16.840: E/AndroidRuntime(876): at com.android.internal.policy.impl.PhoneWindow.insta llDecor(PhoneWindow.java:3129)
07-15 02:51:16.840: E/AndroidRuntime(876): at com.android.internal.policy.impl.PhoneWindow.setCo ntentView(PhoneWindow.java:303)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.app.Activity.setContentView(Activity.java: 1930)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.support.v7.app.ActionBarActivity.superSetC ontentView(ActionBarActivity.java:217)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.support.v7.app.ActionBarActivityDelegateIC S.setContentView(ActionBarActivityDelegateICS.java :110)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.support.v7.app.ActionBarActivity.setConten tView(ActionBarActivity.java:77)
07-15 02:51:16.840: E/AndroidRuntime(876): at com.example.tryapp.MainActivity.onCreate(MainActiv ity.java:14)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.app.Activity.performCreate(Activity.java:5 242)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1087)
07-15 02:51:16.840: E/AndroidRuntime(876): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2161)
07-15 02:51:16.840: E/AndroidRuntime(876): ... 11 more"

Reply