Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I went through this site Touch/Emulator - Ubuntu Wiki but I'm still not sure how to install Ubuntu Touch Emulator on 13.10. The site pointed me to: “android” package : Ubuntu, for downloading a .deb package but I wasn't sure which package to download. I need clear instruction on how to install the ubuntu touch emulator.

share|improve this question
add comment

2 Answers

up vote 7 down vote accepted

Dependencies

Install the dependencies with the following PPA:

sudo add-apt-repository ppa:phablet-team/tools
sudo apt-get update
sudo apt-get install ubuntu-emulator


Install

To install the Ubuntu Touch x86 Emulator, paste the following in your terminal:

wget http://people.canonical.com/~rsalveti/aosp/generic_x86/emulator-x86.tar.bz2 -O /tmp/emulator-x86.tar.bz2
tar -jxvf /tmp/emulator-x86.tar.bz2
cd emulator-x86
./build-emulator-sdcard.sh #this will download the ubuntu rootfs and create the sdcard image

To run the emulator:

cd emulator-x86; ./run-emulator.sh


Scale down the window

If the emulator window doesn't fit in your screen, the you can resize it, by going In the ~/emulator-x86 folder, edit the run-emulator.sh file, and add in -scale 0.5. To scale it down half the size.

 ...
 exec emulator -memory 512 \
    -scale 0.5 \
 ...

Source:

share|improve this answer
    
UPDATE Author of WebUpd8.org article has since added: "for faster startup and better .. overall performance, try .. x86 Emulator preview." webupd8.org/2014/03/ubuntu-touch-x86-emulator-better.html –  david6 Mar 9 at 8:47
    
@david6, thanks! been meaning to update this, but I kept forgetting. –  blade19899 Mar 9 at 10:50
add comment

You are using ubuntu 13.10 (saucy salamander) so download this .deb package.

After that open the terminalctrl+alt+t.Go into the directory where .deb package is downloaded.

cd /path/to/the/directory/where/android.deb/file/is/located
sudo dpkg -i android_20131006-1510-0ubuntu6_all.deb

Now the emulator will be installed and you can use it.

share|improve this answer
    
Is it the same package for all versions below 14.04 or is it only for 13.10? –  Akas Antony Dec 9 '13 at 7:56
    
the .deb file link i posted is only for ubuntu 13.10 –  Avinash Raj Dec 9 '13 at 7:57
    
I downloaded and installed the package but I'm unable to launch the emulator or locate the emulator directory. –  Akas Antony Dec 9 '13 at 20:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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