Results 1 to 2 of 2

Thread: building Touch Cordova app for Android and Windows Error

  1. #1

    Default building Touch Cordova app for Android and Windows Error

    I create an application using


    Code:
    sencha generate app SenchaTest C:\users\username\deskop\SenchaTest

    From there I initialize cordova using


    Code:
    sencha cordova init

    It appears up until here everything is fine.


    I edit app.jason to include


    Code:
    "platforms": "android",

    in the build section


    I then run


    Code:
    sencha app build native

    To build the cordova application


    It results in this error near the end of the commands output


    Code:
    [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.

    I do have compass installed, it's a totally fresh app so it can't be an issue with my version of sencha cmd. Totally at a loss as to how to fix this. No idea how to even get started with packaging this thing for android/windows development


    I assume I'm supposed to have a build generated in the cordova\platforms directory and that to build for windows I'd just include windows in the "Platforms" within the app.json.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Did you install 'Compass extension' when installing Cmd 6?
    https://docs.sencha.com/cmd/6.x/intro_to_cmd.html#Using_Older_Frameworks

Similar Threads

  1. Replies: 2
    Last Post: 4 May 2015, 4:26 AM
  2. Building Sencha Touch 2 + Phonegap Application for Android : Windows
    By good_c_ryan_19 in forum Sencha Touch 2.x: Examples and Showcases
    Replies: 23
    Last Post: 2 Jul 2014, 1:33 AM
  3. Replies: 2
    Last Post: 26 May 2014, 6:25 PM
  4. Replies: 2
    Last Post: 3 Apr 2014, 10:28 AM
  5. about Building with Cordova android
    By feiqiao in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 25 Oct 2013, 4:46 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •