Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: No APK file gets created when trying to package Touch app for Android

  1. #11
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    8
    Vote Rating
    0
      0  

    Default

    Thank you very much for your quick reply. I am using the lastest sencha command I believe (downloaded yesterday). And i have tried both commands 'sencha app build native' and 'sencha package build packager.json', both no success and no error.

    Here is the my packager.json file
    {
    "applicationName":"testapp",
    "applicationId":"testapp",
    "versionString":"1.0",
    "iconName":"resources/icons/Icon~ipad.png",
    "inputPath":"D:/Ming/websites/widgets/sencha-touch/testapp",
    "outputPath":"C:/Users/Ming/build",
    "configuration":"Debug",
    "platform":"AndroidEmulator",
    "deviceType":"Universal",
    "certificatePath":"debug.keystore",
    "certificateAlias":"androiddebugkey",
    "certificatePassword":"testapppass",
    "sdkPath":"C:/Users/Ming/android-sdks",
    "androidAPILevel":"15",
    "orientations": [
    "portrait",
    "landscapeLeft",
    "landscapeRight",
    "portraitUpsideDown"
    ]
    }

    this file is inside the application folder, the debug.keystore file is in the same folder too.
    Thanks again for your help.

  2. #12
    Sencha User voloshyn's Avatar
    Join Date
    Jan 2012
    Posts
    118
    Vote Rating
    1
      0  

    Default

    this is outdated config, generate new app and see packager,json file, it may happen when your app was generated long time ago and upgrade process does not upgrade packager.json, also what version of the tools you have including build number, check the name of the downloaded file of sencha command, it's all in filename

  3. #13
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    8
    Vote Rating
    0
      0  

    Default

    I am using SenchaSDKTools-2.0.0-beta3-windows and below is the json file inside the application I just generated using the sencha app create cmd
    Code:
    {
        "applicationName":"My Application",
        "applicationId":"com.mycompany.myAppID",
        "versionString":"1.0",
        "iconName":"resources/icons/Icon~ipad.png",
        "inputPath":"build/native",
        "outputPath":"build/",
        "configuration":"Debug",
        "platform":"iOSSimulator",
        "deviceType":"Universal",
        "certificatePath":"/path/to/certificate.file",
        "certificateAlias":"",
        "sdkPath":"/path/to/android-sdk",
        "androidAPILevel":"15",
        "orientations": [
            "portrait",
            "landscapeLeft",
            "landscapeRight",
            "portraitUpsideDown"
        ]
    }
    looks the same to me....

  4. #14
    Sencha User voloshyn's Avatar
    Join Date
    Jan 2012
    Posts
    118
    Vote Rating
    1
      0  

    Default

    SDK tools was replaced for Sencha Command, here is the link to download: http://www.sencha.com/products/sencha-cmd/download

Page 2 of 2 FirstFirst 12

Posting Permissions

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