This is a migrated thread and some comments may be shown as answers.

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

3 Answers 197 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Radoslaw
Top achievements
Rank 1
Radoslaw asked on 16 Dec 2013, 06:25 PM

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

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:

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

-pre-build:

-check-env:

 [checkenv] Android SDK Tools Revision 22.0.5

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

-setup:

     [echo] Project Name: Fakturra

  [gettype] Project Type: Application

-build-setup:

[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

-code-gen:

[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 !

3 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 17 Dec 2013, 08:12 AM
Hi Radoslaw,

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

Regards,
Steve
Telerik
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.
0
David Gerding
Top achievements
Rank 1
answered on 23 Apr 2015, 02:55 PM

Hi,

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.

Thanks,

Dave Gerding

0
Tsvetina
Telerik team
answered on 28 Apr 2015, 07:40 AM
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.

Regards,
Tsvetina
Telerik
 

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

 
Tags
AppBuilder extension for Visual Studio
Asked by
Radoslaw
Top achievements
Rank 1
Answers by
Steve
Telerik team
David Gerding
Top achievements
Rank 1
Tsvetina
Telerik team
Share this question
or