Android和QUOT;的Hello World"使用Eclipse教程 [英] Android "Hello World" tutorial using Eclipse

查看:129
本文介绍了Android和QUOT;的Hello World"使用Eclipse教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试我的第一个应用程序编程;的Hello World,我已经遇到我无法修复的bug。当我运行程序我得到:

I attempted to program my first app; "Hello World" and I already encountered a bug I cannot fix. When I run the program I get:

无效的命令行参数:文件。
提示:使用@foo推出名为'富'的虚拟设备。
请使用-help以获取更多信息。

invalid command-line parameter: Files. Hint: use '@foo' to launch a virtual device named 'foo'. please use -help for more information

有谁知道这是什么意思,我该如何解决这个问题?

Does anyone know what this means and how I can fix it?

推荐答案

我觉得你的主要问题是你在那里是在地址。假如有一个空格,安装SDK中的路径安装了Android SDK中的 C:\\ Program Files文件\\的Andr​​oid \\ Android的SDK ,那么你一定会得到issue.Try使用不包含有空格例如任何C目录:\\ Android的\\ Android的SDK

I think your main problem is you installed your android sdk in a path where there is a space in the address.If you install the sdk in "C:\Program Files\Android\android-sdk",then you will surely get that issue.Try to use any directory which does not contain any space in it like C:\Android\android-sdk .

或者试图从这样的命令行运行AVD的 C:\\ PROGRA〜1 \\ Android的\\ Android的SDK

Or try to run the AVD from the command line like this C:\Progra~1\Android\android-sdk.

希望这会帮助你。

这篇关于Android和QUOT;的Hello World"使用Eclipse教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆