Android Studio Installation Guide

Hello community
i will talking about how to install android studio
before started
we should:
1-download android studio from HERE
2-download genymotion for virtual Devices from HERE
– update 21/2/2017 use can ignore downloading genymotion and use (AVD) see the end of wiki
3-install virtual box like this instruction HERE

Now we will start
1-extract android studio in home
and go to this directory "androidstudio/bin/"
2-open in terminal like that

3-if you have an existing version select first option else next

then let it open and next

4-in this stage i will select custom to choose the ui theme

after that let studio download sdk and wait
in my case i installed it before :wink:
don’t select Android Virtual Device because it doesn’t work at any linux distro
//—update 21/2/2017------------------
**use can use android virtual device and don’t use genymotion **
go to the end of this wiki :wink:

5-click next and next and finish
when you succeed this intro will appear but we just close it

Now let’s turn to genymotion to can make our virtual devices

make sure that you install virtualbox before begining

1-move the downloaded file to home
2-open terminal and give it permition to can execute or extract it
like that
chmod 755 genymotion-xxxx.bin
3-in same terminal write ./genymotion-xxxx.bin and let it extract
4-after that open genymotion folder and open genymotion

5-sign in by e-mail that you make it while downloading genymotion

6-after that select add and choose
__1-your android version that you install in android studio
__i advice you to install android version 5.0.0 on android studio and select it
__when you make your virtual device
__2-your device model that you favorite it
7-after select it give you some information about your device that you will install

8-you can rename it is you should

9-let it downloaded

10-after downloaded finished go to setting>>ADB >and choose android sdk that you install by android studio

Now we can back to android studio but there something before run it
we need to but android studio in menu so we will make the next steps:
1- make a file called android-studio.desktop
2- open it and write some lines like next pic
and but your path and icon path in Exec and Icon
we can make menu entry just go to android studio
tools -> create desktop entry

3-save file and move it to /usr/share/applications/

4-well done we can open it from menu

5-when open it as developer usual go to settings and plugins
and type in search genymotion like that

6-select Browse repositories and instal it and restart android studio

7-after restart you find genymotion icon in icon bar after ? icon open it and add a genymotion path and click apply

8- open it again and choose your virtual device and start it

9-well done

10-now you can run your app and select your virtual devices to run it

Well Done

but there is some thing i didn’t talk about it
if any developer want to make app depend on google services
they should do next steps:
1- download genymotion-ARM-translation and gapps-lp

2-drop genymotion-ARM-translation to virtual device and restart it

3-Before we go on to the next step, you need to download the flashable zip of gapps by your virtual device’s Android version
after that drop to your device after open it and let it instal and retsart

4-after restart singin wih google account and update all google services

to download the genymotion-ARM-translation and gapps-lp go to this LINK

Some Problem Can happen while run geny motion:
1-first error :
/genymotion: symbol lookup error: /usr/lib64/ undefined symbol: xcb_wait_for_reply64

solution :
Open the folder that you extracted the files and remove

2-second error
/genymotion: symbol lookup error: /usr/lib/x86_64-linux-gnu/mesa/ undefined symbol: drmGetDevice

solution :
go to the directory where you have installed genymotion and remove

Well Done Developers
Enjoy Coding :slight_smile:
//--------update this wiki 21/2/217------Run Android Virtual Device (AVD) and ignore genymotion
Hello Again
now i found a solution
manage us to run android virtual device (AVD)
on our distro
just go go to this directory
“” cd $ANDROID_HOME/android-sdk-linux_x86/tools/lib64/libstdc++""
and rename to
you can rename by this command
run this command
“” ln -s /usr/lib64/ $ANDROID_HOME/android-sdk-linux_x86/tools/lib64/libstdc++ “”

$ANDROID_HOME is your android SDK directory :wink:


if there is any problem
please write here
thanks for all

FYI - Moved to tutorials section

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

if you want, you can edit your first post and include the improvements you mention.
it is a wiki, so anybody can edit it (if he/she is an experienced forum user).

1 Like

thank you @excalibur1234
i do what you say
review it and tell me if you will find anything wrong :wink:

It worked! Thanks for the AVD guide.

Forum kindly sponsored by