Reputation: 14223
I have Ubuntu 11.04 and i downloaded latest eclipse ADT bundle, i also have installed all ia32libs
, i dont know why the emulator is not starting, i have tried various device configurations, i have 4 platforms 2.2, 2.3 , 4.0 ,4.2. i have tried various permutation and combination, but virtual device does not show up-none of them.
I have also tried various solutions in other SO'questions, they do not solve my problem. i have been stuck in these for weeks, still i have reached no where?Please Help
FYI: I also have eclipse Helios, in that it works fine but, i cannot get/download platform above 3.0/Honeycomb in that, and in the Helios the virtual devices work fine. i dont know whether its relevant or not, but still..
Upvotes: 11
Views: 40542
Reputation: 23
Since Neither Ubuntu Support 32 bit nor Android Developers tools support 32 bit (Now and Legally) and also some having low end pc(s) like 512 mb ram, and for casually playing games for pc the best option for running android is Android X86 . Its fast and always working android emulator(actually not emulator but an OS) you can use it for any thing even 20 years old pc can run it very very smoothly .
To Run it in your any computer follow the below steps:-
Upvotes: 0
Reputation: 2310
If you are getting error like above then please update/upgrade your Linux Machine(Ubuntu) as for example
and make sure that all as per Android Developer website all the required software are installed. If Still you are facing same issue as per image then use su mode in your terminal before starting emulator. sudo su - Use this command to be Su user
Upvotes: 0
Reputation: 531
Source: https://cialu.net/solve-android-studio-avd-issue-with-ubuntu-16-10/
sudo apt-get install lib64stdc++6:i386
sudo apt-get install mesa-utils
(look for the path of the sdk)
cd YOURPATH/Android/Sdk/emulator/lib64
mv libstdc++/ libstdc++.bak
ln -s /usr/lib64/libstdc++.so.6 libstdc++
Finally, run your application again using emulator.
Upvotes: 0
Reputation: 444
I am using Bumblebee
to disable my nvidia card...
It seems like Android Studio does not like that.
optirun /opt/android-studio/bin/studio.sh
And then open AVD Manager in Android Studio made it work.
Upvotes: 0
Reputation: 1188
You need to change the following option:
Edit your avd and change the "emulated performance" option to "software".
It will work.
Upvotes: 1
Reputation: 1198
On Ubuntu 14.04 64bit with a NVidia graphics card I had to do the following:
sudo apt-get install lib32stdc++6 lib32z1
sudo apt-get install libgl1-mesa-dev
It then worked.
Upvotes: 11
Reputation: 2184
on Ubuntu 12.04 LTS 64-Bit (installed the 32-bit libraries), My Case was :
1- downloaded and installed the SDK properly
2- download ADT plug in to Eclipse and restart it
3- set the SDK directory properly
4- create an Android project, and click RUN AS > Android application
5- asked me for an Emulator, so i created one from the AVD (after some steps from the Run Configurations)
6- then i Right-Click that application again, RUN AS > Android Application
7- a message appears > ERROR : Couldn's start Emulator ... install SDK properly (something like that)
8- Restart Eclipse ... every thing is fine !!!!!!!!!!!!!!!!!!
Upvotes: 1
Reputation: 51
Ubuntu Android Emulator Problem [Solved]
The issue with android emulator is not the hardware drivers. It is OpenGL drivers. To solve it please go through these steps:
Select the following packages:
libgles1-mesa-dev
libgles2-mesa-dev
libgles1-mesa
libgles2-mesa
libqt4-opengl [Update/Upgrade]
glmark2
glmark2-es2
libgles1-mesa-dbg
libgles2-mesa-dbg
freeglut3
libhugs-opengl-bundled
Selection procedure
Right click on the package and select as ‘Mark for Installation”.
Upvotes: 3
Reputation: 20041
Run your emulator in Command Line Parameters
To start an instance of the emulator from the command line, navigate to the tools/
folder of the SDK. Enter emulator command like this:
emulator -avd <avd_name>
more about emulator link here:
Upvotes: 12