1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    Coimbatore
    Posts
    103
    Answers
    4
    Vote Rating
    -1
    venkatesh.R will become famous soon enough

      0  

    Default Unanswered: Android Native Packaging issue with Sencha Cmd 3.0.2.288 build

    Unanswered: Android Native Packaging issue with Sencha Cmd 3.0.2.288 build


    Hi,


    I am having trouble packaging my aplication to android using Sencha Cmd v3.0.2.288 in Windows.


    I run the command sencha app package build packager.json and gives me this error.


    Code:
    E:\efacility21>sencha app package run packager.json
    
    
    Sencha Cmd v3.0.2.288
    
    
    [ERR]
    Created directory E:\efacility21build\build\src\com\sencha
    Added file E:\efacility21build\build\src\com\sencha\STActivity.java
    Created directory E:\efacility21build\build\res
    Created directory E:\efacility21build\build\bin
    Created directory E:\efacility21build\build\libs
    Created directory E:\efacility21build\build\res\values
    Added file E:\efacility21build\build\res\values\strings.xml
    Created directory E:\efacility21build\build\res\layout
    Added file E:\efacility21build\build\res\layout\main.xml
    Added file E:\efacility21build\build\AndroidManifest.xml
    Added file E:\efacility21build\build\build.xml
    Added file E:\efacility21build\build\proguard-project.txt
    
    
    'C:\Program' is not recognized as an internal or external command,
    operable program or batch file.
    
    
    ""C:/Program Files/Android/android-sdk\tools\android" create project --target an
    droid-10 --name Sencha --activity STActivity --path "E:/efacility21build/build/\
    /" --package com.sencha"
    Could not run ant with error: 1
    Failed to package application
    
    
    [ERR]           stbuild exited with non-zero code : 7

    This is my Packager.json file


    Code:
    {
    	
    	"applicationName":"Sencha",	
    	"applicationId":"com.sencha",	
    	"bundleSeedId":"KPXFEPZ6EF",	
    	"versionString":"1.0",	
    	"versionCode":"1",	
    	"icon": {
    		"57":"resources/icons/Icon.png",
    		"72":"resources/icons/Icon~ipad.png",
    		"114":"resources/icons/Icon@2x.png",
    		"144":"resources/icons/Icon~ipad@2x.png"
    	},	
    	"inputPath":"E:/efacility21/",	
    	"outputPath":"E:/efacility21build/build/",		
    	"configuration":"Debug",	
    	"platform":"AndroidEmulator",	
    	"deviceType":"Universal",	
    	"certificatePath":"efacandroid.keystore",	
    	"certificatePassword":"sierraodc",	
    	"provisionProfile":"",	
    	"sdkPath":"C:/Program Files/Android/android-sdk",	
    	"androidAPILevel":"10",	
    	"permissions":[
    					"INTERNET",
    					"ACCESS_NETWORK_STATE",
    					"CAMERA",
        				       "VIBRATE",
        				      "ACCESS_FINE_LOCATION",
        				      "ACCESS_COARSE_LOCATION",
        				      "CALL_PHONE"],
    	
    
    
    	"orientations": [
    		"portrait",
    		"landscapeLeft",
    		"landscapeRight",
    		"portraitUpsideDown"
    	]
    }


    Any help would be very appreciated to solve this issue.



    Thanks

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Location
    Coimbatore
    Posts
    103
    Answers
    4
    Vote Rating
    -1
    venkatesh.R will become famous soon enough

      0  

    Default Temporarily solved

    Temporarily solved


    Hi,

    For the time being i have solved by uninstalling the sencha Cmd from "C:/program files/sencha .." directory for windows 7 (x64) and installing again in different location [C:/sencha] (not in the program files) .

    But i don't know why it is not recognized space in the directory name .for example( c:/program files) in windows 7 (64 bit version).

    i am expecting the permanent solution for this issue by recognizing space in the directory name.



    Thanks,

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    71
    Answers
    4
    Vote Rating
    2
    Tioecomp is on a distinguished road

      0  

    Default


    I have the same problem

Thread Participants: 1