[WARN]当前工作目录(C:\ xampp \htdocs\sencha文件夹)不是公认的Sencha SDK或应用程序文件夹。 [英] [WARN] The current working directory (C:\xampp\htdocs\sencha folder) is not a recognized Sencha SDK or application folder.

查看:317
本文介绍了[WARN]当前工作目录(C:\ xampp \htdocs\sencha文件夹)不是公认的Sencha SDK或应用程序文件夹。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Sencha的新人。但是安装后它真的变得头痛..



我不知道如何解决这个问题..
我下载 -




  • sencha-touch-2.1.0-commercial - (它的SDK我想)

  • SenchaSDKTools-2.0.0- beta3-windows(这些是SDK工具)

  • Xampp(用于Web服务)


  • xampp。


  • 提取sencha touch到xampp下的htdocs文件夹。

  • 安装senchSDKTools



    并开始使用CMD命令


  • 我输入sencha并按下Enter ...

  • 获取以下错误。



-

  C:\ xampp \htdocs\sencha-touch-2.1.0-commercial> sencha 
[WARN]当前工作目录(C:\ xampp \htdocs \sencha-touch-2.1 .0-commeria
l)不是公认的Sencha SDK或应用程序文件夹。向后运行comp
atible模式。

Sencha Command v2.0.0 Beta 3
版权所有(c)2012 Sencha Inc.
用法:sencha COMMAND [ARGS]

可用的命令:
构建一个JSB项目
create bootstrapdata generate boostrap data
create jsb为应用程序生成一个最小的JSB项目
create locale从sourc生成一个模板locale文件
e
创建清单生成类清单
将你的Touch Web应用程序打包成一个本地捆绑
切片主题切片自定义主题的图片为IE

参见'sencha help COMMAND'有关特定命令的更多信息。

C:\ xampp \htdocs\sencha-touch-2.1.0-commercial>

- 我搜索了几个网站..但无法得到解决方案..
请帮助我..谢谢

解决方案

问题: Sencha SDK无法通过



blockquote>

[warn]当前工作目录(c:\ xampp \htdocs\sencha-touch-2.1.0-commercial)不是公认的sencha sdk或应用程序文件夹。

问题:问题出在Sencha用于创建的过时的cmd ,更新,打包应用程序。输入 sencha 时,请检查上述命令,并显示当前已安装的cmd版本为:

  sencha command v2.0.0 beta 3 

解决方案: Sencha命令已更新到v3.0.0更多的功能,如生成命令,在v2.0.0不支持。只需从下面的链接下载并安装它(在SDK工具的bin文件夹,而不是触摸SDK)。而已。现在转到Sencha touch文件夹,再次通过它运行 sencha 。现在你会得到:

  sencha cmd v3.0.0.250 

您也可以触发此命令

  $ sencha generate app gs ../gs 

它也能工作!



注意: Sencha没有说你需要更新Sencha cmd,但更新了他们的文档。许多人都面临着Sencha的问题,没有运气。希望人们摆脱它,这从我一个完整的夜晚:)


I'm new in Sencha . but after installation.. it's really becoming a headache..

I dont' know how to resolve this issue.. I downloaded -

  • sencha-touch-2.1.0-commercial - (its SDK i think)
  • SenchaSDKTools-2.0.0-beta3-windows (These are Tools for SDK)
  • Xampp (for Web services)

  • I installed xampp.

  • extracted sencha touch into htdocs folder under xampp.
  • installed senchSDKTools

    And started applying commands from CMD

  • i typed sencha and pressed enter...
  • but i get following error.

-

C:\xampp\htdocs\sencha-touch-2.1.0-commercial>sencha
[WARN] The current working directory (C:\xampp\htdocs\sencha-touch-2.1.0-commercia
l) is not a recognized Sencha SDK or application folder. Running in backwards comp
atible mode.

    Sencha Command v2.0.0 Beta 3
Copyright (c) 2012 Sencha Inc.
usage: sencha COMMAND [ARGS]

The available commands are:
   build                        build a JSB project
   create bootstrapdata         generate boostrap data
   create jsb                   generate a minimal JSB project for an app
   create locale                        generate a template locale file from sourc
e
   create manifest              generate classes manifest
   package                      package your Touch web app into a native bundle
   slice theme                  slice a custom theme's images for IE

See 'sencha help COMMAND' for more information on a specific command.

C:\xampp\htdocs\sencha-touch-2.1.0-commercial>

-I've searched several website.. but couldn't get the solution.. Please help me.. thank you

解决方案

Problem: Sencha SDK could not be recognized through cmd

Error:

[warn] the current working directory (c:\xampp\htdocs\sencha-touch-2.1.0-commercial) is not a recognized sencha sdk or application folder. running in backwards compatible mode.

Issue: The problem arises because of outdated cmd that Sencha use for creating, updating, packaging apps. Check the above command when entering sencha and it showing currently installed cmd version is:

sencha command v2.0.0 beta 3

Solution : Sencha command has been updated to v3.0.0 with more features like "generating" commands which was not supported in v2.0.0. Just download it from below link and install it (in the bin folder of SDK tools, not touch SDK). That's it. Now go to the Sencha touch folder and again through it run sencha. What will you get now is:

sencha cmd v3.0.0.250

You can also fire this command

$ sencha generate app gs ../gs

And it work too!

Note: Sencha didn't say that you needed to update Sencha cmd, but updated their documentation. Numerous people are facing this Sencha problem with no luck. Hope people get rid of it which took a complete night from me :)

这篇关于[WARN]当前工作目录(C:\ xampp \htdocs\sencha文件夹)不是公认的Sencha SDK或应用程序文件夹。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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