i don't think it's the code, it's the emulator no launching.  I get
the graphics of the phone, it just never gets pas "ANDROID"....  no
home screen, etc...

---- code ----

package com.example.helloandroid;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView tv = new TextView(this);
        tv.setText("Hello, Android");
        setContentView(tv);
    }
}

---- another emulator run with verbose on ----

C:\tools\android>emulator -avd myavd -memory 1024 -verbose
emulator: found SDK root at C:\tools\android\1.5r2
emulator: root virtual device file at C:\Documents and Settings\phil
\.android/avd/myavd.ini
emulator: virtual device content at C:\Documents and Settings\phil
\.android\avd\myavd.avd
emulator: virtual device config file: C:\Documents and Settings\phil
\.android\avd\myavd.avd/config.ini
emulator:     locking user data image at C:\Documents and Settings\phil
\.android\avd\myavd.avd/userdata-qemu.img
emulator:     locking cache image at C:\Documents and Settings\phil
\.android\avd\myavd.avd/cache.img
emulator: ignoring non-existing SD Card at C:\Documents and Settings
\phil\.android\avd\myavd.avd/sdcard.img: No such fil
e or directory
emulator: found skin 'HVGA' in directory: C:\tools\android\1.5r2/
platforms\android-1.5\skins
emulator: autoconfig: -skin HVGA
emulator: autoconfig: -skindir C:\tools\android\1.5r2/platforms
\android-1.5\skins
emulator: keyset loaded from: C:\Documents and Settings\phil\.android
\default.keyset
emulator: WARNING:    4: key name doesn't start with valid character.
line ignored
emulator: trying to load skin file 'C:\tools\android\1.5r2/platforms
\android-1.5\skins/HVGA/layout'
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: argv[00] = "emulator"
emulator: argv[01] = "-kernel"
emulator: argv[02] = "C:\tools\android\1.5r2/platforms
\android-1.5\images\/kernel-qemu"
emulator: argv[03] = "-initrd"
emulator: argv[04] = "C:\tools\android\1.5r2/platforms
\android-1.5\images\/ramdisk.img"
emulator: argv[05] = "-nand"
emulator: argv[06] = "system,size=0x4200000,initfile=C:\tools\android
\1.5r2/platforms\android-1.5\images\/system.img"
emulator: argv[07] = "-nand"
emulator: argv[08] = "userdata,size=0x4200000,file=C:\Documents and
Settings\phil\.android\avd\myavd.avd/userdata-qemu.i
mg"
emulator: argv[09] = "-nand"
emulator: argv[10] = "cache,size=0x4200000,file=C:\Documents and
Settings\phil\.android\avd\myavd.avd/cache.img"
emulator: argv[11] = "-serial"
emulator: argv[12] = "android-kmsg"
emulator: argv[13] = "-serial"
emulator: argv[14] = "android-qemud"
emulator: argv[15] = "-append"
emulator: argv[16] = "qemu=1 console=ttyS0 android.checkjni=1
android.qemud=ttyS1 android.ndns=1"
emulator: argv[17] = "-m"
emulator: argv[18] = "1024"
emulator: mapping 'system' NAND image to C:\DOCUME~1\phil\LOCALS~1\Temp
\\AndroidEmulator\TMP513.tmp
emulator: using 'winaudio' audio input backend
emulator: using 'winaudio' audio output backend
emulator: control console listening on port 5554, ADB on port 5555
emulator: sent '0012host:emulator:5555' to ADB server
emulator: ping program: C:\tools\android\1.5r2\tools\ddms.bat
emulator: ping command: C:\WINDOWS\system32\cmd.exe /C "C:\tools
\android\1.5r2\tools\ddms.bat" ping emulator 1.9

On Jun 23, 1:54 am, Jose Ayerdis <joseayer...@gmail.com> wrote:
> would you like sending us your code.....
>
> 2009/6/23 phil <phil.pellouch...@gmail.com>
>
>
>
>
>
> > i did this with the same result.
>
> > C:\tools\android>emulator -avd myavd -memory 1024
> > emulator: WARNING:    4: missing expected assignment operator (=).
> > line ignored
>
> > C:\tools\android>
>
> > On Jun 22, 1:14 pm, Jose Ayerdis <joseayer...@gmail.com> wrote:
> > > try givin it more memory
>
> > > 2009/6/21 phil <phil.pellouch...@gmail.com>
>
> > > > i did a search and saw a few ideas about how to solve this (clean) and
> > > > none of them worked.
>
> > > > I was working my way throgh HelloAndroid - got to the point of
> > > > running, and the emulator comes up, but never gets past the ANDROID
> > > > screen.
>
> > > > Here's what i see in the debug window.
>
> > > > [2009-06-20 12:15:04 - HelloAndroid] ------------------------------
> > > > [2009-06-20 12:15:04 - HelloAndroid] Android Launch!
> > > > [2009-06-20 12:15:04 - HelloAndroid] adb is running normally.
> > > > [2009-06-20 12:15:04 - HelloAndroid] Performing
> > > > com.example.helloandroid.HelloAndroid activity launch
> > > > [2009-06-20 12:15:04 - HelloAndroid] Automatic Target Mode: launching
> > > > new emulator with compatible AVD 'my_avd'
> > > > [2009-06-20 12:15:04 - HelloAndroid] Launching a new emulator with
> > > > Virtual Device 'my_avd'
> > > > [2009-06-20 12:15:07 - HelloAndroid] New emulator found: emulator-5554
> > > > [2009-06-20 12:15:07 - HelloAndroid] Waiting for HOME
> > > > ('android.process.acore') to be launched...
> > > > [2009-06-20 12:19:34 - HelloAndroid] emulator-5554 disconnected!
> > > > Cancelling 'com.example.helloandroid.HelloAndroid activity launch'!
> > > > [2009-06-20 12:19:34 - Emulator] emulator: WARNING:    4: key name
> > > > doesn't start with valid character. line ignored
> > > > [2009-06-21 08:19:55 - HelloAndroid] ------------------------------
> > > > [2009-06-21 08:19:55 - HelloAndroid] Android Launch!
> > > > [2009-06-21 08:19:55 - HelloAndroid] adb is running normally.
> > > > [2009-06-21 08:19:55 - HelloAndroid] Performing
> > > > com.example.helloandroid.HelloAndroid activity launch
> > > > [2009-06-21 08:19:55 - HelloAndroid] Automatic Target Mode: launching
> > > > new emulator with compatible AVD 'my_avd'
> > > > [2009-06-21 08:19:55 - HelloAndroid] Launching a new emulator with
> > > > Virtual Device 'my_avd'
> > > > [2009-06-21 08:20:04 - HelloAndroid] New emulator found: emulator-5554
> > > > [2009-06-21 08:20:04 - HelloAndroid] Waiting for HOME
> > > > ('android.process.acore') to be launched...
>
> > > --
> > > Atte
>
> > > [[Jose Luis Ayerdis Espinoza]]http://blognecronet.blogspot.com
>
> --
> Atte
>
> [[Jose Luis Ayerdis Espinoza]]http://blognecronet.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to