unable to launch Emulator.

by naga suman » Tue, 09 Jun 2009 00:04:56 GMT


Sponsored Links
 Hello All!

I downloaded android and followed the instructions provided in this
website (  http://source.android.com/download  )! but i am unable to
launch the android emulator.  please find the following error

laptop:~/bin/out/host/linux-x86/bin# ./emulator
emulator: ERROR: You did not specify a virtual device name, and the
system
directory could not be found.

If you are an Android SDK user, please use '@<name>' or '-avd <name>'
to start a given virtual device (see -help-avd for details).

Otherwise, follow the instructions in -help-disk-images to start the
emulator


Am i looking at the right executable? can any one please help me
figure this out.

Thanks a lot.
Naga suman.

--~--~---------~--~----~------------~-------~--~----~



unable to launch Emulator.

by naga suman » Tue, 09 Jun 2009 01:19:14 GMT


 Hello All!

I downloaded android and followed the instructions provided in this
website (  http://source.android.com/download  )! but i am unable to
launch the android emulator.  please find the following error

laptop:~/bin/out/host/linux-x86/bin# ./emulator
emulator: ERROR: You did not specify a virtual device name, and the
system
directory could not be found.

If you are an Android SDK user, please use '@<name>' or '-avd <name>'
to start a given virtual device (see -help-avd for details).

Otherwise, follow the instructions in -help-disk-images to start the
emulator


Am i looking at the right executable? can any one please help me
figure this out.

Thanks a lot.
Naga suman.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


unable to launch Emulator.

by nskanag...@gmail.com » Tue, 09 Jun 2009 01:19:29 GMT


 Hello All!

I downloaded android and followed the instructions provided in this
website (  http://source.android.com/download  )! but i am unable to
launch the android emulator.  please find the following error

laptop:~/bin/out/host/linux-x86/bin# ./emulator
emulator: ERROR: You did not specify a virtual device name, and the
system
directory could not be found.

If you are an Android SDK user, please use '@<name>' or '-avd <name>'
to start a given virtual device (see -help-avd for details).

Otherwise, follow the instructions in -help-disk-images to start the
emulator


Am i looking at the right executable? can any one please help me
figure this out.

Thanks a lot.
Naga suman.

--~--~---------~--~----~------------~-------~--~----~



unable to launch Emulator.

by arnouf » Tue, 09 Jun 2009 02:10:33 GMT


 Hi,

You didn't load the SDK but source.
If you want develop application, prefer going at
developers.android.com



--~--~---------~--~----~------------~-------~--~----~



unable to launch Emulator.

by Roman » Tue, 09 Jun 2009 03:58:20 GMT


 Hello,

Please make sure that you have created an AVD image for you build.
Check the following web page for doing this

 http://developer.android.com/guide/developing/tools/avd.html 

First list the existing targets with

Available Android targets:
[1] Android 1.5
     API level: 3
     Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P

As you can see I have only one target available. The use the commmand

Android 1.5 is a basic Android platform.
Do you wish to create a custom hardware profile [no]no
Created AVD 'test' based on Android 1.5

After the creation of the AVD image you should be able to start your
emulator with


Of course another way is to use the Eclipse framework in which you
also can create your AVD image and start the emulator.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Jun 7, 4:09pm, "nskanag...@gmail.com"


--~--~---------~--~----~------------~-------~--~----~



unable to launch Emulator.

by David Turner » Tue, 09 Jun 2009 14:52:42 GMT


 Well, you need to create an AVD, look at the content of -help-disk-images
and -help-avd and you'll understand what that means.
Or you could even read the documentation on developer.android.com about
this:
 http://developer.android.com/guide/developing/tools/avd.html 






--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. sdk 1.5 digital keyboard

Hello,
how i can get a reference to the digital keyboard?
is the keyboard added to the activity?
how i can set a other style to the keyboard?


Where i get a documentaion of the digital keyboard?
--~--~---------~--~----~------------~-------~--~----~

2. Help | RSS Reader Feeds | Socket Exception

Hi,

I am trying to access rss feeds :

RSSFEEDOFCHOICE = "http://rss.news.yahoo.com/rss/entertainment";

Below is the code:

        try
        {
                // setup the url
           URL url = new URL(urlToRssFeed);

           // create the factory
           SAXParserFactory factory = SAXParserFactory.newInstance();
           // create a parser
           SAXParser parser = factory.newSAXParser();

           // create the reader (scanner)
           XMLReader xmlreader = parser.getXMLReader();
           // instantiate our handler
           RSSHandler theRssHandler = new RSSHandler();
           // assign our handler
           xmlreader.setContentHandler(theRssHandler);
           Log.i("getFeed", "before inputsource ");
           // get our data via the url class

           //InputSource is = new InputSource(inputStream);
           InputSource is = new InputSource();
           is.setByteStream(url.openConnection().getInputStream());
           // perform the synchronous parse
           xmlreader.parse(is);
           // get the results - should be a fully populated RSSFeed
instance, or null on error
           return theRssHandler.getFeed();
        }
        catch (Exception ee)
        {
                Log.e("getFeed", "ee ==> " +ee.getMessage(),ee);

                // if we have a problem, simply return null
                return null;
        }


below is the exception trace:

04-28 19:47:54.155: INFO/RSSReader: onCreate(854): START
04-28 19:47:54.226: INFO/RSSReader: onCreate(854): RSSFEEDOFCHOICE
http://rss.news.yahoo.com/rss/entertainment
04-28 19:47:54.235: INFO/getFeed(854): urlToRssFeed ==>
http://rss.news.yahoo.com/rss/entertainment
04-28 19:47:54.306: INFO/getFeed(854): before inputsource
04-28 19:47:54.355: ERROR/OSNetworkSystem(854): unknown socket error
-1
04-28 19:47:54.389: ERROR/getFeed(854): ee ==> unknown error
04-28 19:47:54.389: ERROR/getFeed(854): java.net.SocketException:
unknown error
04-28 19:47:54.389: ERROR/getFeed(854):     at
org.apache.harmony.luni.platform.OSNetworkSystem.createSocketImpl
(Native Method)
04-28 19:47:54.389: ERROR/getFeed(854):     at
org.apache.harmony.luni.platform.OSNetworkSystem.createSocket
(OSNetworkSystem.java:79)
04-28 19:47:54.389: ERROR/getFeed(854):     at
org.apache.harmony.luni.net.PlainSocketImpl2.create
(PlainSocketImpl2.java:59)
04-28 19:47:54.389: ERROR/getFeed(854):     at
java.net.Socket.checkClosedAndCreate(Socket.java:763)
04-28 19:47:54.389: ERROR/getFeed(854):     at java.net.Socket.connect
(Socket.java:910)
04-28 19:47:54.389: ERROR/getFeed(854):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>
(HttpConnection.java:61)
04-28 19:47:54.389: ERROR/getFeed(854):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager
$ConnectionPool.getHttpConnection(HttpConnectionManager.java:145)
04-28 19:47:54.389: ERROR/getFeed(854):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection
(HttpConnectionManager.java:67)
04-28 19:47:54.389: ERROR/getFeed(854):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection
(HttpURLConnection.java:800)
04-28 19:47:54.389: ERROR/getFeed(854):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect
(HttpURLConnection.java:786)
04-28 19:47:54.389: ERROR/getFeed(854):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:1030)
04-28 19:47:54.389: ERROR/getFeed(854):     at
com.msi.androidrss.RSSReader.getFeed(RSSReader.java:94)
04-28 19:47:54.389: ERROR/getFeed(854):     at
com.msi.androidrss.RSSReader.onCreate(RSSReader.java:53)
04-28 19:47:54.389: ERROR/getFeed(854):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1122)
04-28 19:47:54.389: ERROR/getFeed(854):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2103)
04-28 19:47:54.389: ERROR/getFeed(854):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2156)
04-28 19:47:54.389: ERROR/getFeed(854):     at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
04-28 19:47:54.389: ERROR/getFeed(854):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1580)
04-28 19:47:54.389: ERROR/getFeed(854):     at
android.os.Handler.dispatchMessage(Handler.java:88)
04-28 19:47:54.389: ERROR/getFeed(854):     at android.os.Looper.loop
(Looper.java:123)
04-28 19:47:54.389: ERROR/getFeed(854):     at
android.app.ActivityThread.main(ActivityThread.java:3742)
04-28 19:47:54.389: ERROR/getFeed(854):     at
java.lang.reflect.Method.invokeNative(Native Method)
04-28 19:47:54.389: ERROR/getFeed(854):     at
java.lang.reflect.Method.invoke(Method.java:515)
04-28 19:47:54.389: ERROR/getFeed(854):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:739)
04-28 19:47:54.389: ERROR/getFeed(854):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
04-28 19:47:54.389: ERROR/getFeed(854):     at
dalvik.system.NativeStart.main(Native Method)
04-28 19:47:54.425: INFO/RSSReader: onCreate(854): END
04-28 19:47:54.565: INFO/ActivityManager(47): Displayed activity
com.msi.androidrss/.RSSReader: 985 ms


Thanks in advance

--~--~---------~--~----~------------~-------~--~----~

3. One more reason flash lite would have been useful....

4. Directory to store files

5. 1.5 SDK problems

6. Some good news

7. why do i need to erase userdata after replace nand flash from x16 to x8??