Android sdk on ubuntu Starting emulator for AVD PANIC: Could not open:

I found a ton of answers to this question for Windows, but my problem is with linux (ubuntu). I just downloaded the adt package, launched eclipse and tried to start the emulator from the virtual device manager, but I get a message

Starting emulator for AVD 'AS' PANIC: Could not open: AS 

I tried to run both root and non root without success.

thanks

+4
source share
6 answers

Do not use. / emulator -avd {AVD NAME} as superuser ... Try to use it without root, it worked for me. For more details see this link.

+2
source

I had the same problem. It turns out I did not have the appropriate permissions on the Eclipse ADT Bundle .

Try:

 sudo chown -R username adt-bundle-linux-x86_64**** 

Make sure you have workspace permissions ...

 sudo chown -R username Workspace 

Then you should be able to run Eclipse as non-root and just run AVD.

+1
source

If you are using a 64-bit distribution on your development machine, you need to install the ia32-libs package using apt-get ::

Open a terminal and enter the following

  sudo apt-get install ia32-libs 

For more information check the link below.

http://developer.android.com/sdk/installing/index.html

I assume Android-sdk is 32 bit, so you need ia32-libs if you are running on a 64 bit machine

Edit:

You can try this

open terminal

and enter

  sudo chmod -R 777 'YOURPATH of sdk folder(Just Drag and Drop your Android sdk folder here)' 

This will give read permission and read execution.

0
source

you can try to install piecemeal

eclipse download - no bundle

download sdk install

adt

I am using ubuntu 12.04 and eclipse 4.3 and everything is fine.

0
source

Ubuntu Android emulator issue [resolved]

The problem with the Android emulator is not hardware drivers. These are OpenGL drivers. To resolve this issue, follow these steps:

  • Open Synaptic Package Manager (unless you install it from the Ubuntu Software Center)

  • In the Quick filter, enter "opengl" and click "Search."

  • Select the following packages: libgles1-Mesa-DEV libgles2-Mesa-DEV libgles1-Mesa libgles2-Mesa libqt4-opengl [Update / Update] glmark2 glmark2-es2 libgles1-Mesa-DBG libgles2-Mesa-DBG freeglut3 libhugs-OpenGL-bundle

  • Selection Procedure Right-click on the package and select "Mark for Installation".

  • And click "Apply."

  • Enjoy ANDROID PROGRAMMING WITH EMULATOR.

0
source

I found that chown ~/.android as well as chowning ADK directory worked for me (ubuntu 12)

0
source

Source: https://habr.com/ru/post/1479104/


All Articles