If you leave the emulator open and run the app again, do you get the
same error?

Are you running this from Eclipse?
Can you look at the ddms and check the output?

On Jun 1, 7:16 pm, GameDev <[email protected]> wrote:
> Hi
>
> I am new to android technology.So i need help to learn the same.
> I copied the snake game from the sample example.
> When i try to run it .. Following things are displayed on the console
>
> 11-06-01 20:11:32 - Snake] Android Launch!
> [2011-06-01 20:11:32 - Snake] adb is running normally.
> [2011-06-01 20:11:32 - Snake] Performing
> com.example.android.snake.Snake activity launch
> [2011-06-01 20:11:32 - Snake] Automatic Target Mode: Preferred AVD
> 'Pratyush_android' is not available. Launching new emulator.
> [2011-06-01 20:11:32 - Snake] Launching a new emulator with Virtual
> Device 'Pratyush_android'
> [2011-06-01 20:11:33 - Snake] New emulator found: emulator-5554
> [2011-06-01 20:11:33 - Snake] Waiting for HOME
> ('android.process.acore') to be launched...
> [2011-06-01 20:11:54 - Snake] WARNING: Application does not specify an
> API level requirement!
> [2011-06-01 20:11:54 - Snake] Device API version is 4 (Android 1.6)
> [2011-06-01 20:11:54 - Snake] HOME is up on device 'emulator-5554'
> [2011-06-01 20:11:54 - Snake] Uploading Snake.apk onto device
> 'emulator-5554'
> [2011-06-01 20:11:54 - Snake] Installing Snake.apk...
> [2011-06-01 20:12:06 - Snake] Success!
> [2011-06-01 20:12:06 - Snake] Starting activity
> com.example.android.snake.Snake on device emulator-5554
> [2011-06-01 20:12:11 - Snake] ActivityManager: Starting: Intent
> { act=android.intent.action.MAIN
> cat=[android.intent.category.LAUNCHER]
> cmp=com.example.android.snake/.Snake }
>
> and i can see a Android Emulator . On the screen of Emulator ,it says
>  SCREEN is LOCKED ,Unlock it by pressing Menu
>
> When i Press Menu
> There is a message box
> The application(process com.example.android.snake) has stopped
> unexpectedly.
> Please try again.
>
> plz help to rectify this..

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to