首先运行Android应用程序 - 错误信息 [英] Running first Android application - error message
问题描述
我收到此错误,当我试图启动我第一次的的Hello World 的Android应用程序。我做教程的基础上的 将由Sams Android应用程序在24小时内发展的我。如何才能解决这个?
[2011-08-18 2点33分二十八秒 - droidapp] ------------------------------ [2011-08-18 2时33分28秒 - droidapp] Android的推出! [2011-08-18 2时33分28秒 - droidapp]亚洲开发银行运行正常。 [2011-08-18 2时33分28秒 - droidapp]执行com.droid.app.DroidappActivity活动启动 [2011-08-18 2时33分28秒 - droidapp]自动目标模式:preferred AVDfirstdroid不可用。启动新的仿真器。 [2011-08-18 2时33分28秒 - droidapp]启动一个新的仿真与虚拟设备firstdroid
[2011-08-18 2时33分三十秒 - 模拟器]无效的命令行参数: 文件\机器人\ Android的SDK \工具/仿真器,arm.exe。 [2011-08-18 2时33分30秒 - 模拟器]提示:使用@foo推出名为'富'的虚拟设备。 [2011-08-18 2时33分30秒 - 模拟器]请使用-help以获取更多 信息
更改SDK的路径的路径 Program Files文件\机器人\ Android的SDK工具/仿真器,arm.exe
。把SDK直接在驱动器,也就是 D:\机器人\ Android的SDK-工具\模拟器-arm.exe
注:也通过重命名文件夹名称删除该路径中有空格
I am getting this error when I am trying to launch my first Hello World Android application. I am doing the tutorial based on Sams Teach Yourself Android Application Development in 24 Hours.How can I resolve this?
[2011-08-18 02:33:28 - droidapp] ------------------------------ [2011-08-18 02:33:28 - droidapp] Android Launch! [2011-08-18 02:33:28 - droidapp] adb is running normally. [2011-08-18 02:33:28 - droidapp] Performing com.droid.app.DroidappActivity activity launch [2011-08-18 02:33:28 - droidapp] Automatic Target Mode: Preferred AVD 'firstdroid' is not available. Launching new emulator. [2011-08-18 02:33:28 - droidapp] Launching a new emulator with Virtual Device 'firstdroid'
[2011-08-18 02:33:30 - Emulator] invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe. [2011-08-18 02:33:30 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'. [2011-08-18 02:33:30 - Emulator] please use -help for more information
Change the path of the SDK your path to Program Files\Android\android-sdk tools/emulator-arm.exe
. Put the SDK directly in the drive, that is, d:\Android\android-sdk-tools\emulator-arm.exe
.
Note: also remove spaces from the path by renaming the folder name.
这篇关于首先运行Android应用程序 - 错误信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!