-2

I followed the tutorial on this page.

After completing step 6 (installing the packages) I cannot open Android Studio to get to Android Device Manager. I have looked everywhere for it and have no idea where to find it or how to start it. How can I open it?

1

I cannot open Android Studio

The tutorial you linked to never mentions Android Studio. In fact, it is not a tutorial about installing the Android Studio IDE. It is a tutorial about installing the Android SDK which you can use to run Android AVDs.

to get to Android Device Manager

You do not need Android Studio (the IDE) to run the Device Manager. The device manager can be opened through the SDK Manager by running the android executable, which is located in the directory where you installed the SDK.

According to the tutorial, you installed it into:

/opt/android-sdk-linux/tools

(There is an error on step 3 in the tutorial which mentions /android-sdk-linux/tools instead, but whatever)

For this reason, you will be able to run the SDK Manager like this:

/opt/android-sdk-linux/tools/android

When the SDK Manager opens, use the menu:

Tools → Manage AVDs...

Create one or more AVDs and then run them. You should definitely choose to create them with x86 ABI, because those using the ARM architecture will be very slow since the CPU needs to be emulated.

The system images for Android must be installed through the SDK Manager that you opened before. You need to close the AVD Manager to use the SDK Manager.

  • By the way, it should be noted that you can install Android-x86 in VirtualBox if you just want to run an Android OS. – Andrea Lazzarotto Jul 29 '16 at 12:34
  • I tried the android-x86 sometime back but the speeds were rather slow and opted for android debugging bridge , for your case as of now is the performance good – jeff.gacheru Jul 29 '16 at 12:43
  • 1
    This question is a follow-on from this one. I think the OP already reached that point, though the tutorial is really unclear... I don't think I have enough space on my system to test it myself... – Zanna Jul 29 '16 at 12:53
  • @Zanna ah! Then I don't see the point of this question. You have already instructed the OP on how to run the SDK Manager. I am flagging this Q as duplicate. – Andrea Lazzarotto Jul 29 '16 at 12:58
  • But they are still stuck... Ahhh I think I get it. I thought it was just the installation script... I guess they closed it and need to run it again but it has no .desktop file and isn't in the PATH... – Zanna Jul 29 '16 at 13:02
0

Android studio is starting when you start the installation executable. If i recall correctly, after downloading Android Studio, you have to unzip it and run <android folder>/studio.sh. This is the same sh that will run Android Studio for you. If this option is not working for you, you can always download the complete archive of Android Studio + SDK in android studio website and save yourself the lines in terminal. Adnroid Studio+SDK download page

  • Did you check the linked page? The OP did not install Android Studio at all. – Andrea Lazzarotto Jul 29 '16 at 10:53
  • Android studio installer has emulator included in the installation... – fixxxera Jul 29 '16 at 10:59
  • OK, so what? That does not answer the question "why can't I find Android Studio?" → "Because you never installed it (and you don't need it for the emulator)". – Andrea Lazzarotto Jul 29 '16 at 12:05
  • So basically I did answer it – fixxxera Jul 29 '16 at 12:06
  • «If i recall correctly» «If this option is not working» Quite a few ifs in the same answer. Your post is probably much more suited as a comment than an answer. As a general rule, if a post contains "If" or "maybe"/"could"/"might" then it's usually a comment. It can become an answer after the OP has replied and confirmed. – Andrea Lazzarotto Jul 29 '16 at 12:20
0

You can find the diretory location of android studio by:

sudo find / -iname studio.sh

Once you locate the directory go to it by:

cd ~android studio directory~

Once you are in this directory change permisions of the studio.sh file:

sudo chmod +x ./studio.sh

Now run the studio.sh bash file :

./studio.sh

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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