Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while installing Android Studio in Ubuntu 16.04 [duplicate]

I encountered the following error while attempting to install Android Studio in Ubuntu. How do I solve this issue? I am using jdk 1.8 enter image description here

like image 669
Ndirangu Avatar asked Jun 28 '16 06:06

Ndirangu


People also ask

How do I reinstall Android Studio?

Launch the Android Studio DMG file. Drag and drop Android Studio into the Applications folder, then launch Android Studio. Select whether you want to import previous Android Studio settings, then click OK.

Why Android Studio is not opening after installation?

If Studio doesn't start after an upgrade, the problem may be due to an invalid Android Studio configuration imported from a previous version of Android Studio or an incompatible plugin.


2 Answers

If you are running a 64bit Ubuntu this will solve it for you

  sudo yum install compat-libstdc++-296.i686 compat-libstdc++-33.i686 ncurses-libs.i686 compat-libstdc++-33.x86_64

or

sudo apt-get install compat-libstdc++-296.i686 compat-libstdc++-33.i686 ncurses-libs.i686 compat-libstdc++-33.x86_64
like image 84
Mfuon Leonard Avatar answered Sep 25 '22 17:09

Mfuon Leonard


For UBUNTU 16.04 LTS just run this command:

sudo apt-get install lib32stdc++6

then restart Android Studio it will work.

like image 26
Sathya Baman Avatar answered Sep 23 '22 17:09

Sathya Baman