Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1473 in a recent build.
  1. #1
    Sencha User baradas's Avatar
    Join Date
    Jun 2008
    Location
    Mumbai Madness
    Posts
    21
    Vote Rating
    0
    baradas is on a distinguished road

      0  

    Default Native Android Packaging Issues Sencha 2.0

    Native Android Packaging Issues Sencha 2.0


    Hi,
    I am trying to generate an Android binary (.apk) using the Native Android packaging option.

    However, I get this error when I run the below command :

    sencha package autoexpo.json
    My configuration file is as below :

    Code:
    {
            "applicationName":"AE2012",
            "applicationId":"com.company.autoexpo",
            "outputPath":"~/Sandbox/AndroidApps/dist/",
            "iconName":"~/Sandbox/Sencha-SDK/icon.png",
            "versionString":"1.0",
            "webAppPath":"~/Sites/autoexpo/",
            "configuration":"Debug",
            "platform":"Android",
            "deviceType":"Universal",
            "certificatePath":"~/Sandbox/AndroidApps/keys/autoexpo-debug-key.keystore",
            "certificateAlias":"autoexpo",
            "sdkPath":"~/Software/Android/android-sdk-macosx",
            "orientations": ["portrait",
                    "landscapeLeft",
                    "landscapeRight",
                    "portraitUpsideDown"
            ]
    }

    Error faced is as below :

    Code:
    [aapt] /Users/KH442/Sandbox/AndroidApps/dist/AndroidManifest.xml:10: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon').
    The icon file is available in the location mentioned in the sample configuration file above.

    Help would be appreciated a lot.

    ~ Barry

  2. #2
    Sencha User
    Join Date
    Jul 2011
    Location
    Utrecht
    Posts
    84
    Vote Rating
    3
    DJFliX is on a distinguished road

      0  

    Default


    I think the icon should be in the root of your webAppPath. Just point it to the filename and the magic will happen .

    Code:
    {
    "applicationName": "TestApp",
    "applicationId": "com.flix.testapp",
    "iconName": "logo.png",
    "outputPath": "~/builds/",
    "versionString": "1.05",
    "webAppPath": "/Applications/XAMPP/xamppfiles/htdocs/testapp/",
    "configuration": "Debug",
    "platform": "Android",
    "deviceType": "Universal",
    "sdkPath": "/Developer/android-sdk-mac_x86",
    "orientations": [
    "portrait",
    "landscapeLeft",
    "landscapeRight",
    "portraitUpsideDown"
    	]
    }

  3. #3
    Sencha User baradas's Avatar
    Join Date
    Jun 2008
    Location
    Mumbai Madness
    Posts
    21
    Vote Rating
    0
    baradas is on a distinguished road

      0  

    Default


    Hi,
    The logo.png was already in the same folder and although I modified the json file to reflect the issue persists.

    {
    "applicationName":"AE2012",
    "applicationId":"com.company.autoexpo",
    "iconName": "logo.png",
    "outputPath":"~/Sandbox/AndroidApps/dist/",
    "versionString":"1.0",
    "webAppPath":"~/Sites/autoexpo/",
    "configuration":"Debug",
    "platform":"Android",
    "deviceType":"Universal",
    "certificatePath":"~/Sandbox/AndroidApps/keys/autoexpo-debug-key.keystore",
    "certificateAlias":"autoexpo",
    "sdkPath":"~/Software/Android/android-sdk-macosx",
    "orientations": ["portrait",
    "landscapeLeft",
    "landscapeRight",
    "portraitUpsideDown"
    ]
    }

    logo.png can be found at : ~/Sites/autoexpo/logo.png

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Location
    Utrecht
    Posts
    84
    Vote Rating
    3
    DJFliX is on a distinguished road

      0  

    Default


    What size is your icon?

  5. #5
    Sencha User
    Join Date
    Oct 2011
    Posts
    11
    Vote Rating
    0
    AdmSrck is on a distinguished road

      0  

    Default


    I have similar problem. I put icon.png in my webApp directory, tried different sizes 48x48, 72x72, 96x96. Also tried different icon images.
    I'm using newest Sencha SDK.
    Any thoughts?

  6. #6
    Sencha User
    Join Date
    Dec 2011
    Location
    Bogota, Colombia
    Posts
    33
    Vote Rating
    0
    xyrer is on a distinguished road

      0  

    Default


    sooo..... no answer to this? I've been hitting this wall for a while and can't find any info related to this problem

  7. #7
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    I've moved this to the bug forum and reported it as a bug so we can look into it for you.

    Thanks.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  8. #8
    Sencha User
    Join Date
    Feb 2012
    Posts
    1
    Vote Rating
    0
    adecem is on a distinguished road

      0  

    Default


    Anybody ?

  9. #9
    Sencha User
    Join Date
    Feb 2012
    Posts
    16
    Vote Rating
    1
    Jaganlal is on a distinguished road

      0  

    Exclamation Help needed

    Help needed


    Even I'm stuck here. Any help will be appreciated.

  10. #10
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    We'll have some updates to this shortly.

    Sencha Inc

    Jamie Avins

    @jamieavins