invalid command-line parameter: FilesAndroidandroid-sdk ools/emulator-arm.exe

 invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe

把Android SDK 安装在如下目录,然后再Eclipse中试图去运行代码的时候,就会遇到如上错误

C:\Program Files\Android\android-sdk\

 

网上一搜发现原来这是个常见的问题,这里想说的是,为什么谷歌怎么不解决这个Program和Files之间的这个一个小小的空格问题呢,要大家非要遇到问题了,再去搜索下才能解决。。。。。。

 

PS: 靠,那个手机界面是出来了,我除了在Eclipse中设置了Android的路径为

C:\Program~1\Android\android-sdk\ 以外,还在windows的环境变量Path里改 C:\Program~1\Android\android-sdk\tools;C:\Progra~1\Android\android-sdk\platform-tools;

但是,但是它怎么就还是有内存错误呢?! 晕死了,卸载。。。重新安装Android SDK 到 C:\Android 没有空格 这会你该OK了吧?谷哥?!

 

http://blog.163.com/ws_wishao/blog/static/173046963201161041011257/

 

错误描述如下:

invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
Hint: use ‘@foo’ to launch a virtual device named ‘foo’.
please use -help for more information

是安装目录中的空格造成的,如果不想更改android sdk的安装目录,那么可以将eclipse中,android设置的路径改为

C:\Progra~1\Android\android-sdk-windows

改过来后第一二次启动可能还是会报错,多点几次,看到正常启动的提示就没有问题了。

如果安装目录有多个以progra字母开头的,那么要将后面的数字1改为相应的。

 

阅读更多
相关热词
换一批

Invalid parameter name. 问题

12-15

大家好,rnrn目前碰到一个很郁闷的问题, 报表在本机可以跑, 但是放到服务器上(asp.net)后打开就100次里70次不能打开,30次可以,偶尔会持续不能打开.rnrn碰到的问题是:rnrn[COMException (0x80000229): rnError in File C:\WINDOWS\TEMP\607E00A6-3ED7-48A3-887D-1B9EE76FF3A8.rpt:rnInvalid parameter name.]rn CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0rn CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +64rn CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +195rnrn[Exception: 加载报表失败。]rn CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +254rn CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +736rn CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +47rn Synergy.TrakStar.Printing.PrintUtil.GetReport(String path, Boolean useDataWarehouse) +94rn station_epoc_readycollectionreport.get_ReportSource() in d:\Web Sites\report.aspx.cs:29rn ASP.station_epoc_readycollectionreport_aspx.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in d:\Web Sites\report.aspx:45rn System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256rn System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19rn System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163rn System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32rn System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51rn System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27rn System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99rn System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40rn System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134rn System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19rn System.Web.UI.Page.Render(HtmlTextWriter writer) +29rn System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27rn System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99rn System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266rnrnrn应该不是程序问题, 因为以前正常的, 后来一个IIS上部署了多个WEB SITE后就出现这个问题了, 大家有什么建议吗? 谢谢rn

insmod: invalid parameter err -22

12-29

3G 模块: HUAWEI E1750 (USB 3G上网设备)rn目标机: ARM , linux kernel 3.2.0rn交叉编译器: arm-linux-gnueabi-gcc(version 4.7.3)rnrn问题:rn由于要使用USB 3G上网卡,需要安装一个驱动模块ppp_generic.ko,我在HOST电脑上编译了此模块,然后在目标设备上加载这个模块insmod ppp_generic.ko时,出现如下错误:rnrn/mnt/mmc/# insmod ppp_generic.kornppp_generic: Unknown symbol skb_copy_bits (err -22)rnppp_generic: Unknown symbol skb_put (err -22)rnppp_generic: Unknown symbol __netif_schedule (err -22)rnppp_generic: Unknown symbol unregister_netdev (err -22)rnppp_generic: Unknown symbol skb_dequeue (err -22)rnppp_generic: Unknown symbol skb_pull_rcsum (err -22)rnppp_generic: Unknown symbol skb_copy_datagram_iovec (err -22)rnppp_generic: Unknown symbol netdev_err (err -22)rnppp_generic: Unknown symbol pskb_expand_head (err -22)rnppp_generic: Unknown symbol alloc_netdev_mqs (err -22)rnppp_generic: Unknown symbol kfree_skb (err -22)rnppp_generic: Unknown symbol __alloc_skb (err -22)rnppp_generic: Unknown symbol skb_queue_tail (err -22)rnppp_generic: Unknown symbol skb_pull (err -22)rnppp_generic: Unknown symbol netdev_printk (err -22)rnppp_generic: Unknown symbol skb_push (err -22)rnppp_generic: Unknown symbol register_netdev (err -22)rnppp_generic: Unknown symbol free_netdev (err -22)rnppp_generic: Unknown symbol unregister_pernet_device (err -22)rnppp_generic: Unknown symbol dev_alloc_skb (err -22)rnppp_generic: Unknown symbol skb_queue_purge (err -22)rnppp_generic: Unknown symbol __pskb_pull_tail (err -22)rnppp_generic: Unknown symbol netif_rx (err -22)rnppp_generic: Unknown symbol skb_trim (err -22)rnppp_generic: Unknown symbol register_pernet_device (err -22)rnppp_generic: Unknown symbol skb_queue_head (err -22)rninsmod: can't insert 'ppp_generic.ko': invalid parameterrnrngcc版本与目标机一样,不知道什么原因,求前辈帮助。

没有更多推荐了,返回首页