用eclipse开发安卓程序,开发环境都设置好以后,新建一个空的安卓程序,但是模拟器启动以后,控制台显示“Installing HelloWorld.apk...”到这里就停了,死活不出现“success.”也就是说程序无法装到虚拟机上,这是怎么回事
工具版本:Eclipse3.5.2 / ADT14.0.0 / SDK_r14下面是控制台的提示(死活不出现success!):
[2011-10-21 21:08:12 - test] Android Launch!
[2011-10-21 21:08:12 - test] adb is running normally.
[2011-10-21 21:08:12 - test] Performing com.test.TestActivity activity launch
[2011-10-21 21:08:12 - test] Automatic Target Mode: launching new emulator with compatible AVD 'HVGA'
[2011-10-21 21:08:12 - test] Launching a new emulator with Virtual Device 'HVGA'
[2011-10-21 21:08:16 - test] New emulator found: emulator-5554
[2011-10-21 21:08:16 - test] Waiting for HOME ('android.process.acore') to be launched...
[2011-10-21 21:08:36 - test] HOME is up on device 'emulator-5554'
[2011-10-21 21:08:36 - test] Uploading test.apk onto device 'emulator-5554'
[2011-10-21 21:08:36 - test] Installing test.apk...

解决方案 »

  1.   

    从中午弄到现在啦,等半个小时也不出来。
    在网上铺天盖地搜,还是没发现什么问题啊,ADT、SDK都能用,模拟器也好使,但是程序就是无法安装到模拟器里面去,我真的快崩溃了。。
      

  2.   

    哦,你是更新到4.0之后的问题,看你的问题,你连模拟器都没开启,怎么能运行?我说的模拟器开启指的是完全开启,不是一直停留在启动画面那块,如果一直停留在那边,你最好关掉,重启模拟器。如果是开启了模拟器,还一直停留在Installing test.apk...这个状态,那是不可能的,呵呵……因为运行Android程序有个ADB connection time out,默认情况下是5000ms,超过这个时间,控制台会打出:Time out。
      

  3.   


    就是一个简单的helloworld程序。。先开模拟器再运行程序还是没用
    package com.helloworld;import android.app.Activity;
    import android.os.Bundle;
    import android.widget.TextView;public class HelloWorld 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("第一个安卓程序");
            setContentView(tv);
        }
    }
      

  4.   

    诶,我重新下了个eclipse,然后就没问题了。。