Alright So I downloaded the android SDK bundle for linux because I want to start making some apps, but i've ran into a couple of problems here.

  1. when I tried to create an emulator through the AVD Manager, and I tried to run it, i got the following error message:

    Starting emulator for AVD 'AVDTEST' Failed to start emulator: Cannot run program "/home/luke/adt-bundle-linux-x86_64-20140702/sdk//tools/emulator": java.io.IOException: error=2, No such file or directory

If you look, you will see that there is an extra slash before the tools directory, so I'm asking if anyone knows where I can go to change that path.

Also, the bundle didn't seem to come with any documentation. Am I just missing it or is it all online somewhere?

UPDATE: I tried running the emulator explicitly from the command line, but, even though I can clearly see that the file is there, and I am now providing the correct path, I still get the no such file/dir error.

  • This question may appear really naive, that's because I am, please forgive lol – Luke Jul 13 '14 at 18:06
  • To close-voters: please remember that questions about the emulator and other SDK tools that are also used by non-developers are on-topic for this site. – Dan Hulme Jul 14 '14 at 8:20

Change the sdk directory path from eclipse settings to the root of your sdk path. Also, chmod the files to executables

  • 1. I can not find a settings option in eclipse, that's why I asked this question. – Luke Jul 13 '14 at 19:10
  • 2. In the SDK manager, the ADK path is already displayed as: /home/luke/adt-bundle-linux-x86_64-20140702/sdk – Luke Jul 13 '14 at 19:11
  • Window -> Preferences -> Android and browse to the SDK folder. Update sdk and the Eclipse ide if it still doesn't work. – QuestionEverything Jul 13 '14 at 19:11
  • Thanks, but like I said, the Path to sdk is correct, its that extra slash that is messing things up, I'm wondering where I can go to change that specific path (i'm checking for updates now, although everything should be the latest version, because i just downloaded them both today) – Luke Jul 13 '14 at 19:22
  • yeah no updates to perform – Luke Jul 13 '14 at 19:27

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.