Results 1 to 2 of 2

Thread: sencha app build package Eroor

  1. #1
    Sencha User
    Join Date
    Aug 2013
    Location
    Karachi, Pakistan.
    Posts
    6

    Default Answered: sencha app build package Eroor

    Encountered this error while packaging the app

    Code:
    [ERR] The following error occurred while executing this line:
    F:\Expo2013SameStore\.sencha\app\build-impl.xml:231: Problem: failed to create t
    ask or type x-ant-call
    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.
    My packager.json

    Code:
    {
      "applicationName": "Expo Pakistan",
      "applicationId": "com.expopakistan",
      "bundleSeedId": "3RYZ6G285Q",
      "versionString": "0.3",
      "versionCode": "3",
      "icon": {
        "36": "resources/icons/Icon_Android48.png",
        "48": "resources/icons/Icon.png",
        "96": "resources/icons/Icon_Android96.png",
        "57": "resources/icons/Icon.png",
        "72": "resources/icons/Icon~ipad.png",
        "114": "resources/icons/[email protected]",
        "144": "resources/icons/[email protected]"
      },
      "inputPath": "./",
      "outputPath": "../build/",
      "configuration": "Release",
      "platform": "Android",
      "deviceType": "Universal",
      "certificatePath": "F:/AndroidAppstore/android1.keystore",
      "certificateAlias": "android1",
      "certificatePassword": "android1",
      "provisionProfile": "D:/Apple appstore/ExpoPakistan.mobileprovision",
      "URLScheme": "",
      "notificationConfiguration": "",
      "sdkPath": "F:/AndroidAppstore/android-sdk-windows
      "androidAPILevel": "8",
      "permissions": [
        "INTERNET",
        "ACCESS_NETWORK_STATE",
        "ACCESS_FINE_LOCATION",
        "ACCESS_COARSE_LOCATION"
      ],
      "orientations": [
        "portrait"
      ]
    }

  2. Try using the debug, -d, option to see if it will yield a more helpful error message.
    Looks like you are trying to package for android.
    I notice that you have some fields set for iOS packaging as well.
    To package are android you only need to set the following fields in your packager.json:
    sdkPath
    applicationID
    platform
    androidAPILevel
    You may want to try just setting these and return the other fields to their default value.

  3. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    Try using the debug, -d, option to see if it will yield a more helpful error message.
    Looks like you are trying to package for android.
    I notice that you have some fields set for iOS packaging as well.
    To package are android you only need to set the following fields in your packager.json:
    sdkPath
    applicationID
    platform
    androidAPILevel
    You may want to try just setting these and return the other fields to their default value.
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

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
  •