各位大哥帮帮忙看看,本人在自学Android根据官网,装了以下环境SDK Manager
Plarform 2.1 Eclipse Java EE IDE for Web Developers.
Version: Indigo Release
Build id: 20110602-0820调试程序
public class HelloworldActivity 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);
    }
}Android Application ->调试Eclipse 控制台输出
***********************log
[2011-06-14 20:10:39 - helloworld] ------------------------------
[2011-06-14 20:10:39 - helloworld] Android Launch!
[2011-06-14 20:10:39 - helloworld] adb is running normally.
[2011-06-14 20:10:39 - helloworld] Performing mu.hell.HelloworldActivity activity launch
[2011-06-14 20:10:39 - helloworld] Automatic Target Mode: Preferred AVD 'my_avd' is not available. Launching new emulator.
[2011-06-14 20:10:39 - helloworld] Launching a new emulator with Virtual Device 'my_avd'
[2011-06-14 20:10:59 - helloworld] New emulator found: emulator-5554
[2011-06-14 20:10:59 - helloworld] Waiting for HOME ('android.process.acore') to be launched...'my_avd'自己建的虚拟环境,且选择了 Plarform 2.1 
问题:屏幕总是跳处一个大黑屏 ,上面就写着 ANDROID,然后就没反映了应该出现手机模拟器,("Hello, Android");显示才对啊!有哪位高手知道啊!!!换了 Plarform 3.0的也是老样子.

解决方案 »

  1.   

    我刚刚看了下,还是这样"屏幕总是跳处一个大黑屏 ,上面就写着 ANDROID,然后就没反映了
    ",已经十几分钟过去了!
      

  2.   

    Eclipse 继续 控制台输出 以下
    [2011-06-14 20:34:32 - helloworld] HOME is up on device 'emulator-5554'
    [2011-06-14 20:34:32 - helloworld] Uploading helloworld.apk onto device 'emulator-5554'
    [2011-06-14 20:34:33 - helloworld] Installing helloworld.apk...
    [2011-06-14 20:37:54 - helloworld] Failed to install helloworld.apk on device 'emulator-5554!
    [2011-06-14 20:37:54 - helloworld] (null)
    [2011-06-14 20:37:54 - helloworld] Launch canceled!好象失败了!!
      

  3.   

      TextView tv = new TextView(this);
       tv.setText("Hello, Android");
       setContentView(tv);
     
    可以这么写么?TextView是个widget,不是布局。。
    你应该写个linearlaout  然后放个textview进去,再setContentView
    而且估计你的机器跑3.0肯定会很卡很卡,硬件配置要求高。
      

  4.   

    这是正常的...android应该开发,系统建议内存2G以上!
    如果配置低的话!很慢的!第一次启动模拟器也很慢!耐心等待!
    启动模拟器时,不做其它操作,等进入模拟器桌面时再操作!因为可能导致启动失败!耐心吧!
      

  5.   

    在super.onCreate(savedInstanceState);下加入下面代码:
    setContentView(R.layout.main);main为你的布局文件。
    由于你没有设置布局文件,到时模拟器不知道怎么显示界面。
      

  6.   

    在super.onCreate(savedInstanceState);下加入下面代码:
    setContentView(R.layout.main);main为你的布局文件。
    由于你没有设置布局文件,到时模拟器不知道怎么显示界面。