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 trialAmirul Asyraf Muhd Zin
495 Pointscant run the project after have some update. Currently not use any anti-virus and turn off the Window Defender.
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "H:\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 "H:\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
Amirul Asyraf Muhd Zin
495 Pointsyes..i am using Android Studio.. after i make some update on android studio,this problem appear. i didn't change the coding after all
adamabdulghani
7,864 Pointsadamabdulghani
7,864 PointsHi Amirul, are you using Android Studio ? did you update Android studio and then face the problem ? or did you mean you did an update on the code?. Side note: don't turn off your Windows Defender or your antivirus, this issue isn't caused by your antivirus . Please explain as much as you can in order for us to help you.