"The given key was not present in the dictionary" problem.

Thread is closed for posting
4 posts, 1 answers
  1. Radoslaw
    Radoslaw avatar
    15 posts
    Member since:
    Sep 2010

    Posted 16 Dec 2013 Link to this post

    I've build mobile app in Icenium Extension for VS. It works nice in siumulator,  but if I only try to buid project in cloud I receive an error : "The given key was not present in the dictionary"

    The error details reported by Visual Studio:

    Error 1 Server build failed. Server output: Project "Fakturra.proj" (default targets):

     Buildfile: /tmp/67dacb9c1a85491698b283ac6f1b16ea/build.xml




         [echo] proguard.config is ${proguard.config}



     [checkenv] Android SDK Tools Revision 22.0.5

     [checkenv] Installed at /Users/builder/android-sdk-macosx


         [echo] Project Name: Fakturra

      [gettype] Project Type: Application


    [getbuildtools] Using latest Build Tools: 18.0.1

         [echo] Resolving Build Target for Fakturra...

    [gettarget] Project Target:   Android 4.3

    [gettarget] API level:        18

         [echo] ----------

         [echo] Creating output directories if needed...

        [mkdir] Created dir: /tmp/67dacb9c1a85491698b283ac6f1b16ea/bin/res

        [mkdir] Created dir: /tmp/67dacb9c1a85491698b283ac6f1b16ea/gen

        [mkdir] Created dir: /tmp/67dacb9c1a85491698b283ac6f1b16ea/bin/classes

        [mkdir] Created dir: /tmp/67dacb9c1a85491698b283ac6f1b16ea/bin/dexedLibs

         [echo] ----------

         [echo] Resolving Dependencies for Fakturra...

    [dependency] Library dependencies:

    [dependency] No Libraries

         [echo] ----------

         [echo] Building Libraries with 'release'...

       [subant] No sub-builds to iterate on


    [mergemanifest] Merging AndroidManifest files into one.

    [mergemanifest] Manifest merger disabled. Using project manifest only.

         [echo] Handling aidl files...

         [aidl] No AIDL files to compile.

         [echo] ----------

         [echo] Handling RenderScript files...

    [renderscript] No RenderScript files to compile.

         [echo] ----------

         [echo] Handling Resources...

         [aapt] Generating resource IDs...

         [aapt] /tmp/67dacb9c1a85491698b283ac6f1b16ea/bin/AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon').

    Done building project "Fakturra.proj" -- FAILED.

    . C:\Users\Radek\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\pcbsw12q.gqf\Targets\Build.targets 145 4 Fakturra

    Can someone explain me how to fix it !

  2. Answer
    Radoslaw avatar
    15 posts
    Member since:
    Sep 2010

    Posted 17 Dec 2013 Link to this post

    Hi Radoslaw,

    Check out the following forum thread that elaborates on your inquiry.

    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. David Gerding
    David Gerding avatar
    44 posts
    Member since:
    Sep 2005

    Posted 23 Apr 2015 in reply to Radoslaw Link to this post


    I'm getting the same error but when trying to publish using AppManager targeting iOS.  The permalink seems broken. I'm going to go hunt in the forums, but anyone can direct me to related help, it'd be appreciated.


    Dave Gerding

  4. Tsvetina
    Tsvetina avatar
    2329 posts

    Posted 28 Apr 2015 Link to this post

    Hi David,

    I am not sure what old thread the address was pointing to but previous cases with such errors were caused by issues with custom plugins or problemmatic XML files in the build (mobileprovision, config).

    Since we confirmed in your support ticket that the problem is not with the config file, we would like to check the custom plugins and provisioning files. If you want us to do this, please send these files in the support thread as requested and we will do our best to find the cause of the problem and a fix for it.


    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top