<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/hello" />
    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="This is my first Android Apllication!"
        />
    <Button
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="And this is a clickable button"
        />
</LinearLayout>模拟器一直显示 “android”  就是没显示 Hello word  和button
打印的信息:[2011-11-07 20:20:26 - android_14] Failed to install android_14.apk on device 'emulator-5554': device not found
[2011-11-07 20:20:26 - android_14] com.android.ddmlib.InstallException: device not found
[2011-11-07 20:20:26 - android_14] Launch canceled!

解决方案 »

  1.   

    怕是你模拟器建的有问题吧, 是模拟器根本起不来, 所以没办法显示, 和代码无关的吧, 直接运行模拟器可以近launcher吗?
      

  2.   

    Failed to install android_14.apk on device 'emulator-5554': device not foundandroid_14.apk在emulator-5554设备上安装失败:设备未找到。
    你模拟器肿么一直起不来?是不是配置有问题。