LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-07-2012, 08:16 PM   #1
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Rep: Reputation: 32
Android emulator on Ubuntu 11.10


Hello,

I need help installing an android emulator on my Ubuntu 11.10

I have already installed JDK

But I get the following when try to update it
Code:
siawacsh@siawacsh-sager:~$ sudo android update sdk --no-ui
sudo: android: command not found
siawacsh@siawacsh-sager:~$
when i try to launch

Code:
sudo emulator @avdsname.
sudo: emulator: command not found
siawacsh@siawacsh-sager:~$ sudo emulator @avdsname
sudo: emulator: command not found
siawacsh@siawacsh-sager:~$
 
Old 12-07-2012, 08:21 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

seems to either not be installed or not in your path. To help us understand which, please post the output of the following.

Code:
locate emulator
which emulator
locate android
which android
echo $PATH
Evo2.

Last edited by evo2; 12-07-2012 at 08:28 PM.
 
Old 12-07-2012, 11:17 PM   #3
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Thanks for the reply. Requested output listed below.

Code:
 locate emulator
/etc/alternatives/x-terminal-emulator
/etc/alternatives/x-terminal-emulator.1.gz
/usr/bin/x-terminal-emulator
/usr/share/app-install/desktop/exo-utils:exo-terminal-emulator.desktop
/usr/share/app-install/desktop/fuse-emulator-gtk:fuse-gtk.desktop
/usr/share/app-install/desktop/fuse-emulator-sdl:fuse-sdl.desktop
/usr/share/app-install/desktop/qemulator:qemulator.desktop
/usr/share/app-install/desktop/sugar-emulator-0.84:sugar-emulator.desktop
/usr/share/app-install/desktop/sugar-emulator-0.86:sugar-emulator.desktop
/usr/share/app-install/desktop/sugar-emulator-0.88:sugar-emulator.desktop
/usr/share/app-install/desktop/sugar-emulator-0.90:sugar-emulator.desktop
/usr/share/app-install/icons/qemulator.png
/usr/share/man/man1/x-terminal-emulator.1.gz
/usr/src/linux-headers-3.0.0-12/arch/mips/include/asm/fpu_emulator.h
/usr/src/linux-headers-3.0.0-25/arch/mips/include/asm/fpu_emulator.h
/usr/src/linux-headers-3.0.0-26/arch/mips/include/asm/fpu_emulator.h
/usr/src/linux-headers-3.0.0-27/arch/mips/include/asm/fpu_emulator.h
/usr/src/linux-headers-3.0.0-28/arch/mips/include/asm/fpu_emulator.h
/var/lib/dpkg/alternatives/x-terminal-emulator
siawacsh@siawacsh-sager:~$
Code:
 which emulator
siawacsh@siawacsh-sager:~$ sudo which emulator
[sudo] password for siawacsh: 
siawacsh@siawacsh-sager:~$
Code:
locate android
/home/siawacsh/.cache/software-center/icons/android-user-issue-201111-icon-android-user-201111-64.png
/home/siawacsh/.cache/software-center/icons/android-user-issue-201112-icon-android-user-201112-64.png
/home/siawacsh/.cache/software-center/icons/android-user-issue-201202-icon-android-user-201202-64.png
/home/siawacsh/.cache/software-center/icons/android-user-issue-20121-icon-android-user-20121-64.png
/home/siawacsh/.cache/software-center/icons/android-user-issue-20123-icon-android-user-20123-64.png
/home/siawacsh/.cache/software-center/icons/android-user-issue-20124-icon-android-user-20124-64.png
/home/siawacsh/.cache/software-center/icons/android-user-issue-20125-icon-android-user-20125-64.png
/home/siawacsh/.cache/software-center/icons/android-user-issue-20126-icon-android-user-20126-64.png
/home/siawacsh/.cache/software-center/icons/android-user-issue-20127-icon-android-user-20127-64.png
/home/siawacsh/.cache/software-center/icons/android-user-issue-20128-icon-android-user-20128-64.png
/home/siawacsh/.cache/software-center/icons/android-user-issue-20129-icon-android-user-20129-64.png
/usr/share/doc/ibus-pinyin-db-android
/usr/share/doc/ibus-pinyin-db-android/changelog.Debian.gz
/usr/share/doc/ibus-pinyin-db-android/copyright
/usr/share/ibus-pinyin/db/android.db
/var/lib/dpkg/info/ibus-pinyin-db-android.list
/var/lib/dpkg/info/ibus-pinyin-db-android.md5sums
siawacsh@siawacsh-sager:~$



Code:
siawacsh@siawacsh-sager:~$ which android
siawacsh@siawacsh-sager:~$
Code:
siawacsh@siawacsh-sager:~$ echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
siawacsh@siawacsh-sager:~$
 
Old 12-08-2012, 05:22 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

so it seems you have not installed the android sdk. I notice that you say you installed JDK: JDK normally means "Java Developer Kit" which is among other things is one of the dependencies of the Android sdk (IIRC), but should not be confused with it. See, for example https://developer.android.com/sdk/index.html

Evo2.
 
Old 12-09-2012, 08:57 AM   #5
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Yes, I have already downloaded the 64 bit version. But cannot find an executable to run the installation. These are some of the contents of the SDK folder

Code:
sdk$ ls -la
total 28
drwxr-x--- 7 siawacsh siawacsh 4096 2012-11-13 01:26 .
drwxr-x--- 4 siawacsh siawacsh 4096 2012-11-13 01:24 ..
drwxr-x--- 3 siawacsh siawacsh 4096 2012-11-13 01:26 extras
drwxr-x--- 3 siawacsh siawacsh 4096 2012-11-13 01:25 platforms
drwxr-x--- 5 siawacsh siawacsh 4096 2012-11-13 01:25 platform-tools
drwxr-x--- 3 siawacsh siawacsh 4096 2012-11-13 01:26 system-images
drwxr-x--- 9 siawacsh siawacsh 4096 2012-11-13 01:24 tools
siawacsh@siawacsh-sager:~/Downloads/sdk/adt-bundle-linux/sdk$
 
Old 12-09-2012, 02:40 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

did you read (and follow) any documentation? Eg https://developer.android.com/tools/workflow/index.html ?

Evo2.
 
Old 12-09-2012, 09:31 PM   #7
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Hello, please understand that I am not an engineer or good knowing where to look. All I am trying to do on my spare time is to build a website that can display on android phones.

Before posting on LQ I had already checked out Android.com . I found it very counter intuitive without an end or begining. I spent good amount of time looking for specific installation instructions but to no avail. It just seems to go on and on about architecture.

Compare that to the apache XAMPP site. You will notice a huge difference in the specifics of HOW TO instructions

Code:
http://www.apachefriends.org/en/xampp-linux.html#377
You seem to be experienced enough to know the installation and deployment step by step instructions. And I am sure your reply was intended to help me. If so, I would be most grateful if you could post here the installation steps.


Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in startting Android emulator drichirich Linux - Software 0 06-14-2012 03:19 AM
Android 4.0 ICS emulator not working on Ubuntu 11.10 (Segmentation fault) Kenny_Strawn Linux - Mobile 3 10-25-2011 07:16 PM
[SOLVED] email app is not working in android emulator jkm Linux - Mobile 5 03-07-2011 01:37 AM
Could not start Android emulator in Slackware 13.1 kemsiro Slackware 9 02-10-2011 04:28 AM
Android Development in Linux.How To install Android Emulator?? jeevanism Linux - Mobile 3 12-28-2010 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration