Just downloaded Android studio and having some trouble. cant run the default hello world program. Seems to be related to API version numbers and proper linking? originally i had version 20 which is not for phones. i tried to change to ver 19
Start -computer- properties advanced system settings-environment variables reads: java_home C:program files/javajdk1.8.0_20 (also i may have changed something by accident: ComSpec c:windows/system32/cmd32)
from there i downloaded some thins from Android Studios:
SDK manager"
sort by API i have all the API's that are 19 for some reason glass development preview does not install. I also have some things from API 20 and usb driver and repository (rev 6) google play rev 19 google usb driver rev 10
RUN when i click run ... i choose nexus 7 (the only one there) the phone screen opens and then reads android while it loads
Waiting for device. log ....
"C:...\AppData\Local\Android\android-studio1\sdk\tools\emulator.exe" -avd nexus7 -netspeed full -netdelay none
Device connected: emulator-5554
Device nexus7 [emulator-5554] is online, waiting for processes to start up..
Device nexus7 [emulator-5554] is online, waiting for processes to start up..
Device nexus7 [emulator-5554] is online, waiting for processes to start up..
Device nexus7 [emulator-5554] is online, waiting for processes to start up..
Device nexus7 [emulator-5554] is online, waiting for processes to start up..
___________the phone starts working with time in upper right there is no text ________
Device nexus7 [emulator-5554] is online, waiting for processes to start up..
Device nexus7 [emulator-5554] is online, waiting for processes to start up..
Device nexus7 [emulator-5554] is online, waiting for processes to start up..
Device nexus7 [emulator-5554] is online, waiting for processes to start up..
screen dims and then lights up when i "slide " i rerun it and choose open nexus 7
Device nexus7
e"log cat log reads....
09-15 22:56:52.200 777-777/com.example.******.myapplication D/AndroidRuntime﹕ Shutting down VM
09-15 22:56:52.200 777-777/com.example.******.myapplication W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0xb3a81d70)
09-15 22:56:52.230 777-777/com.example.******.myapplication E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.******.myapplication, PID: 777
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.******.myapplication/com.example.******.myapplication.MyActivity}: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2197)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2258)
at android.app.ActivityThread.access$800(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1209)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5026)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:275)
at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2872)
at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3129)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:303)
at android.app.Activity.setContentView(Activity.java:1930)
at com.example.******.myapplication.MyActivity.onCreate(MyActivity.java:14)
at android.app.Activity.performCreate(Activity.java:5242)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2161)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2258)
at android.app.ActivityThread.access$800(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1209)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5026)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)
e
Sorry im totally new to all this and not sure what to post. I did not touch any of the code it is all the default.