<?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!
<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!
解决方案 »
- 请问安装Android sdk时遇到这种情况怎么办
- 为什么NDK(android-ndk-r5b)编译总是找不到头文件
- 求android大神笼罩啊
- Bitmap 位图处理
- 如何给ListView的每一行使用不同的背景图片?
- 这里有开发android游戏的同志吗?
- 问问bundle传递信息的问题,谢谢。
- activityGroup 里startActivityForResult的解决
- android点击按钮后,按钮外部发光,并成漂浮状态
- 怎样解决activity内存不足时被回收,引起的bug
- 做一个Android的listView读取SQLite的视频数据时报的错,页面就出来了一标题
- android statusbarservice.java如何屏蔽HOME键?
你模拟器肿么一直起不来?是不是配置有问题。