Hybrid View

  1. #1
    Sencha User
    Join Date
    Oct 2007
    Posts
    81
    Vote Rating
    -1
    lenoil is an unknown quantity at this point

      0  

    Default Generate application for android

    Generate application for android


    Hi,

    I use Sencha Touch Cmd to generate my application Sencha touch 2.1 with the line command :
    sencha package generate <configTemplate.json>.

    In my directory build, I don't see the apk file but I see asets, bin, libs, res, resources, src, etc...
    no error in my console.

    I would like to see a log file but how ?

    Do you have a idea ?

    Thanks

  2. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    The "sencha package generate" command allows you to generate a configuration file that will be used by Sencha Cmd when you will package your app using the "sencha package run" command.
    You can read more about the Sencha Packager at the following doc page:
    http://docs.sencha.com/touch/2-1/#!/...tive_packaging
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  3. #3
    Sencha User
    Join Date
    Oct 2007
    Posts
    81
    Vote Rating
    -1
    lenoil is an unknown quantity at this point

      0  

    Default


    sorry I use

    sencha package run myPackage.json


    the problem is the same

  4. #4
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    How is set your configuration file?
    What Sencha Cmd reports after launching the command?
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  5. #5
    Sencha User
    Join Date
    Oct 2007
    Posts
    81
    Vote Rating
    -1
    lenoil is an unknown quantity at this point

      0  

    Default


    my file configuration json

    Code:
    {
    	
    	"applicationName":"Port de Paris",
    	"applicationId":"com.geomapservices.PkgPortParis",
    	"versionString":"1.0",
    	"versionCode":"1",
    	"icon": {
    		"57":"build/resources/icons/Icon.png",
    		"72":"build/resources/icons/Icon~ipad.png",
    		"114":"build/resources/icons/Icon@2x.png",
    		"144":"build/resources/icons/Icon~ipad@2x.png"
    	},
    	"inputPath":"E:/GEOMAP_PROJ/CLIENT/PAP",
    	"outputPath":"E:/GEOMAP_PROJ/CLIENT/PAP/build/",
    	"configuration":"Debug",
    	"platform":"Android",
    	"certificatePath":"",
    	"certificateAlias":"",
    	"sdkPath":"E:/UtilitaireEtExe/adt-bundle-windows-x86_64/adt-bundle-windows-x86_64/sdk",
    	"androidAPILevel":"8",
    	"permissions":[
    					"INTERNET",
    					"ACCESS_NETWORK_STATE",
    					"CAMERA",
        				"VIBRATE",
        				"ACCESS_FINE_LOCATION",
        				"ACCESS_COARSE_LOCATION",
        				"CALL_PHONE"],
    	"orientations": [
    		"portrait",
    		"landscapeLeft",
    		"landscapeRight",
    		"portraitUpsideDown"
    	]
    }
    noreports after the command ....
    only this (cf join img)
    Attached Images

  6. #6
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    From what I see you haven't provided the "certificatePath".
    From the docs:

    certificatePath

    This is the location of your certificate. This is required when you are developing for Android or you are developing on Windows.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


Thread Participants: 1