Cannot run program
Hi, I have problem in intellij IDEA 13.1.3, I created simple android program "hello world",when i tried to create AVD ->Tools->Android->Avd Manager, It will shows error message "Cannot run program "D:\other\myexample\adt-bundle-windows-x86-20140321\sdk\tools\android.bat": CreateProcess error=2, The system cannot find the file specified: Cannot run program "D:\other\myexample\adt-bundle-windows-x86-20140321\sdk\tools\android.bat": CreateProcess error=2, The system cannot find the file specified
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "D:\other\myexample\adt-bundle-windows-x86-20140321\sdk\tools\android.bat": 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:455)
at org.jetbrains.android.actions.RunAndroidAvdManagerAction$1.run(RunAndroidAvdManagerAction.java:71)
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:724)
Actually my sdk manager is located at D:\newfolder\myandroid
How do i solved this.?
Thank you in advance.
Please sign in to leave a comment.
Hello,
You need to download and install Android SDK Tools (not ADT bundle): http://dl.google.com/android/installer_r22.6.2-windows.exe
Then set it as Android SDK in IDEA: http://www.jetbrains.com/idea/webhelp/enabling-android-support.html
Hi, Thank youi it works now :^O