Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Cannot get my Android Device to start and I am pretty sure it has something to do with JAVA

I am just starting out and I am pretty sure I followed the videos directions exactly. However once tried starting the android device all I got was this..

C:\Users\david\Downloads\android-studio\sdk\tools\emulator.exe -avd Android442 -netspeed full -netdelay none com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "C:\Users\david\Downloads\android-studio\sdk\tools\emulator.exe": CreateProcess error=2, The system cannot find the file specified at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:252) at org.jetbrains.android.util.AndroidUtils.executeCommand(AndroidUtils.java:459) at org.jetbrains.android.facet.AndroidFacet$1.run(AndroidFacet.java:592) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149) Caused by: java.io.IOException: Cannot run program "C:\Users\david\Downloads\android-studio\sdk\tools\emulator.exe": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:261) at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:248) ... 9 more Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:385) at java.lang.ProcessImpl.start(ProcessImpl.java:136) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028) ... 11 more

It is a whole lot of stuff I dont understand yet but from what I read I think it is telling me JAVA is not installed correctly?

Save me.