Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old April 16th, 2009, 05:44 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Apr 2009
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with 1.5 SDK on linux

I have downloaded the Android 1.5 SDK but I have a problem running the emulator. I have followed the install instructions for linux, I use Ubuntu 8.10, but when i try to start the emulator nothing happens. When I try to start it from the terminal I get this error message:

Quote:
emulator: ERROR: You did not provide the name of an Android Virtual Device
with the '-avd <name>' option. Read -help-avd for more information.
I don't know how to find the -help-avd either, so I'm stuck.

Jompa is offline  
Reply With Quote
sponsored links
Old April 17th, 2009, 04:56 AM   #2 (permalink)
Senior Member
 
Join Date: Feb 2009
Location: London, UK
Posts: 635
 
Device(s): T-Mobile G1 (UK), HTC Desire Z
Carrier: Not Provided

Thanks: 0
Thanked 8 Times in 7 Posts
rozza.c@gmail.com
Default

Quote:
Originally Posted by Jompa View Post
I have downloaded the Android 1.5 SDK but I have a problem running the emulator. I have followed the install instructions for linux, I use Ubuntu 8.10, but when i try to start the emulator nothing happens. When I try to start it from the terminal I get this error message:



I don't know how to find the -help-avd either, so I'm stuck.
I'm not a linux user...

But I'm pretty sure that means you don't have an AVD running...
RozzaC is offline  
Reply With Quote
Old April 17th, 2009, 04:38 PM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Apr 2009
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

How do I run the AVD then? Anyone who can help with that?
Jompa is offline  
Reply With Quote
Old April 17th, 2009, 04:56 PM   #4 (permalink)
Senior Member
 
Join Date: Feb 2009
Location: London, UK
Posts: 635
 
Device(s): T-Mobile G1 (UK), HTC Desire Z
Carrier: Not Provided

Thanks: 0
Thanked 8 Times in 7 Posts
rozza.c@gmail.com
Default

Erm...

Copied From Android's Developer Site:

Quote:

Creating an AVD


To create an AVD configuration, execute:
$ android create avd --name my_avd_name --target 1

--name is the name you'd like to give the AVD and target is the ID of a target listed by android list targets.

The AVD name is purely an identifier used to refer to the AVD later. Since it is used as directory name, please avoid using shell or path specific characters.

To learn the various options available when creating an AVD, simply type:
$ android create avd

The android tool will automatically print an explanation of required arguments.
And here's the full page:

http://developer.android.com/sdk/preview/

Scroll Down to near the bottom...
RozzaC is offline  
Last edited by RozzaC; April 17th, 2009 at 04:58 PM.
Reply With Quote
Old April 19th, 2009, 03:29 PM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Apr 2009
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the help. I got some other problems though, so I think I'll wait for the the final release
Jompa is offline  
Reply With Quote
Old April 19th, 2009, 03:30 PM   #6 (permalink)
Senior Member
 
Join Date: Feb 2009
Location: London, UK
Posts: 635
 
Device(s): T-Mobile G1 (UK), HTC Desire Z
Carrier: Not Provided

Thanks: 0
Thanked 8 Times in 7 Posts
rozza.c@gmail.com
Default

You're welcome... =)
RozzaC is offline  
Reply With Quote
Old April 23rd, 2009, 07:35 PM   #7 (permalink)
New Member
 
Andrex's Avatar
 
Join Date: Sep 2008
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got this error too (on Windows), so I fixed it, but then it says it can't locate that adv. Android knows it's there, it can detect it using "list devices" or whatever, it knows the name, but it can't use it in its default location of C:\Public\.android\. Anyone know where I could move it so I can use it?
Andrex is offline  
Reply With Quote
Old May 2nd, 2009, 02:02 PM   #8 (permalink)
New Member
Thread Author (OP)
 
Join Date: Apr 2009
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have now managed to install the SDK for the final 1.5 releas, and I have created a AVD, but when I try to run it I get this error:
Quote:
bash: syntax error near unexpected token `newline'
Jompa is offline  
Reply With Quote
Old October 14th, 2009, 03:42 PM   #9 (permalink)
New Member
 
Join Date: Oct 2009
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi. It seems that this topic is out of date, but I found the problem. You can move AVD only in disk where installed .android, also don’t forget to use ” ” for catalogs such Documents and Settings and etc
You can move only to the directory which is not exists. android tool automatically creates it. If you will move to the directory which already exists you will receive and error
You can visit our newly created blog post where we describe work with AVD
Using Android Virtual Devices (AVD’s) The Developer's Info
faynasoftlabs is offline  
Reply With Quote
Reply
Tags
androide 1.5, linux, problem


Go Back   Android Forums > Android Development > Application Development
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:43 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.