简体   繁体   中英

android hello world program taking too much time to run

I had followed android developer forum for installation and done all the steps. But finally when i try to run the application , it is just handing on "ANDROID" black screen with below message on console

[2011-10-09 23:59:27 - HelloAndroid] Android Launch!
[2011-10-09 23:59:27 - HelloAndroid] adb is running normally.
[2011-10-09 23:59:27 - HelloAndroid] Performing my.mobile.test.HelloAndroidActivity activity launch
[2011-10-09 23:59:27 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2011-10-09 23:59:27 - HelloAndroid] Launching a new emulator with Virtual Device 'my_avd'
[2011-10-09 23:59:33 - HelloAndroid] New emulator found: emulator-5554
[2011-10-09 23:59:33 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...

It already took 15-20 min and still hanging there. Am i missing anything. Please suggets

在此处输入图片说明

From the looks of your screen shot you are running an emulator with android 3.0 in a tablet configuration. There are many problems with the android 3.0 emulator in terms of speed and reliability. For testing a program as simple as the one you describe create a new emulator using avd with the target sdk as 2.3 or earlier with maybe a WVGA screen. This should work fine for testing your code.

I had the same issue but what I have done is to start the emulator (in avd manager) and after that, I deployed the application and it works fine.

Regards.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM