1. #1
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    42
    Answers
    1
    Vote Rating
    1
    vbhavsar is on a distinguished road

      0  

    Default Unanswered: Android build - packager.json' is not empty. Please consider using 'android.bat updat

    Unanswered: Android build - packager.json' is not empty. Please consider using 'android.bat updat


    I get this error when I build the application using Architect. What do I need to do to fix this?

    Code:
    Error: Project folder 'C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json' is not empty. Please consider using 'android.bat update' instead.Created directory C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\src\com\mycompany\myAppID
    Added file C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\src\com\mycompany\myAppID\STActivity.java
    Created directory C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\res
    Created directory C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\bin
    Created directory C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\libs
    Created directory C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\res\values
    Added file C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\res\values\strings.xml
    Created directory C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\res\layout
    Added file C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\res\layout\main.xml
    Created directory C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\res\drawable-xhdpi
    Created directory C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\res\drawable-hdpi
    Created directory C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\res\drawable-mdpi
    Created directory C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\res\drawable-ldpi
    Added file C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\AndroidManifest.xml
    Added file C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\build.xml
    Added file C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\proguard-project.txt
    Picked up _JAVA_OPTIONS: -Xmx512m
    A subdirectory or file C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\\libs\ already exists.
    A subdirectory or file C:\inetpub\wwwroot\EHFoodApp\build\native-package-mobile\EHFoodApp\packager.json\\assets\ already exists.
    'C:\Users\vipul' is not recognized as an internal or external command,
    operable program or batch file.
    ""C:/adt-bundle-windows-x86-20140321/sdk\tools\android" create project --target android-19 --name EHFoodApp --activity STActivity --path "C:\inetpub\wwwroot\EHFoodApp/build/native-package-mobile/EHFoodApp/packager.json\/" --package com.mycompany.myAppID"
    Could not run ant with error: 1
    Failed to package application
    
    
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExProcess: stbuild exited with non-zero code : 7
    [ERR]     at com.sencha.util.MethodInvoker$Arguments.invoke(MethodIn
    [ERR] voker.java:175)
    [ERR] 
    [ERR] Total time: 15 seconds

  2. #2
    Sencha - Architect Dev Team
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    817
    Answers
    57
    Vote Rating
    31
    jminnick has a spectacular aura about jminnick has a spectacular aura about

      0  

    Default


    I'd strongly encourage going this route for your build solution: http://www.sencha.com/forum/showthre...rdova-PhoneGap
    Jason Minnick
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    42
    Answers
    1
    Vote Rating
    1
    vbhavsar is on a distinguished road

      0  

    Default


    I'm not using phonegap or cordova for my application. I just want to build it to work on an android device. What option would I use for that?

Thread Participants: 1