当我按照Sencha Docs网址上的步骤操作时: http://docs.sencha.com/extjs/4.2.1/#!/guide/theming
我进入标题为“生成测试主题的应用程序”的步骤,我做了 sencha app build 我收到以下错误:
[INF] Capture complete
[INF] [echo] Slicing theme images to C:\codebase\ExtJSTemplate\my-workspace
/build/ThemeDemoApp/production/resources
[INF] Including theme package my-custom-theme for app.theme=my-custom-theme buil
d
[INF] Slicing images...
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: Unknown image type 0
[ERR]
[ERR] Total time: 1 minute 2 seconds
[ERR] The following error occurred while executing this line:
C:\codebase\ExtJSTemplate\my-workspace\theme-demo-app\.sencha\app\build-impl.xml
:478: com.sencha.exceptions.BasicException: Unknown image type 0
这是在Windows XP计算机上。我在我的Macbook Pro上做了同样精确的设置步骤,它没有任何问题。出于某些原因,在我的Windows机器上,我遇到了这个错误。
我确认我在两台机器上安装了相同的JAVA,Ruby和Sencha CMD版本。
有什么想法吗?
我正在使用: java版“1.6.0_11” Sencha Cmd v3.1.2.342 ruby 1.8.7(2013-06-27 patchlevel 374)[i386-mingw32]