我在Eclipse中制作了一个简单的“Hello World”程序。main.xml我没有向 Java 文件添加任何内容,只在文件中添加了一个文本视图
main.xml
//main.xml file <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Hello World" /> </LinearLayout>
现在,当我运行我的程序时,它会在控制台中显示以下内容。
//console output [2011-07-10 07:10:22 - demo] ------------------------------ [2011-07-10 07:10:22 - demo] Android Launch! [2011-07-10 07:10:24 - demo] adb is running normally. [2011-07-10 07:10:24 - demo] Performing com.demo.DemoActivity activity launch [2011-07-10 07:10:25 - demo] Automatic Target Mode: launching new emulator with compatible AVD 'vishal' [2011-07-10 07:10:25 - demo] Launching a new emulator with Virtual Device 'vishal' [2011-07-10 07:11:06 - Emulator] invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe. [2011-07-10 07:11:07 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'. [2011-07-10 07:11:07 - Emulator] please use -help for more information //--------------------------------------------------------------------------------/
这表明我的Android 虚拟设备(AVD) 由于某种原因无法启动。我能做些什么来解决这个问题?
C:\Program Files (x86)\
C:\PROGRA~2\
C:\Program Files\
C:\PROGRA~1\