Sencha Touch Cordova 应用构建问题
Sencha Touch Cordova app build issues
我使用
创建了一个应用程序
sencha generate app SenchaTest C:\users\username\deskop\SenchaTest
从那里我使用
初始化 cordova
sencha cordova init
到这里为止一切正常
我编辑 app.jason 以包含
"platforms": "android",
在构建部分
然后我运行
sencha app build native
构建 cordova 应用程序
它导致在命令输出接近尾声时出现此错误
[ERR] The following error occurred while executing this line:
C:\Users\mferreira\Desktop\SenchaTest\.sencha\app\build-impl.xml:286: The follow
ing error occurred while executing this line:
C:\Users\mferreira\Desktop\SenchaTest\.sencha\app\sass-impl.xml:299: The followi
ng error occurred while executing this line:
C:\Users\mferreira\Desktop\SenchaTest\.sencha\app\sass-impl.xml:305: Problem: fa
iled to create task or type x-compass-compile
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
我确实安装了指南针,这是一个全新的应用程序,所以我的 sencha cmd 版本不会有问题。完全不知道如何解决这个问题。甚至不知道如何开始为 android/windows 开发
打包这个东西
我假设我应该在 cordova\platforms 目录中生成一个构建,并为 windows 构建我只是将 windows 包含在 "Platforms" 在 app.json.
内
您安装的 Sencha CMD 是否勾选了 Compass 选项?我遇到了同样的问题,这个小东西对我有用。
我使用
创建了一个应用程序sencha generate app SenchaTest C:\users\username\deskop\SenchaTest
从那里我使用
初始化 cordovasencha cordova init
到这里为止一切正常
我编辑 app.jason 以包含
"platforms": "android",
在构建部分
然后我运行
sencha app build native
构建 cordova 应用程序
它导致在命令输出接近尾声时出现此错误
[ERR] The following error occurred while executing this line:
C:\Users\mferreira\Desktop\SenchaTest\.sencha\app\build-impl.xml:286: The follow
ing error occurred while executing this line:
C:\Users\mferreira\Desktop\SenchaTest\.sencha\app\sass-impl.xml:299: The followi
ng error occurred while executing this line:
C:\Users\mferreira\Desktop\SenchaTest\.sencha\app\sass-impl.xml:305: Problem: fa
iled to create task or type x-compass-compile
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
我确实安装了指南针,这是一个全新的应用程序,所以我的 sencha cmd 版本不会有问题。完全不知道如何解决这个问题。甚至不知道如何开始为 android/windows 开发
打包这个东西我假设我应该在 cordova\platforms 目录中生成一个构建,并为 windows 构建我只是将 windows 包含在 "Platforms" 在 app.json.
内您安装的 Sencha CMD 是否勾选了 Compass 选项?我遇到了同样的问题,这个小东西对我有用。