• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Problems with 1.5 SDK on linux

Jompa

Lurker
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:

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.
 
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...
 
Erm...

Copied From Android's Developer Site:


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...
 
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?
 
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:
bash: syntax error near unexpected token `newline'
 
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&#8217;t forget to use &#8221; &#8221; 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&#8217;s) The Developer&#039;s Info
 
Back
Top Bottom