Error Message (given key is not in the dictionary)

hanyelmehy

Active Member
Licensed User
Longtime User
Hi,
i get this error message :
An error occured
Error loading file
The given key is not in the dictionary


this error message is shown after run my project on emulator ,when I reload the project it give me the above message

any suggestion

Thank you
 

WizardOz

Member
Licensed User
Longtime User
I went from trial to full, and i got the same message. I did have a backup, and that file did work.
 
Upvote 0

hanyelmehy

Active Member
Licensed User
Longtime User
Do you get a "configuration error" message?No

simply when i open for example (GPSlog for Android - Alpha from your Forum) i have these cases :
-when not run it on emulator ,i can close it and open it without a problem
-when run it on emulator and close Basic4android ,when i reopen project i get the error message :
An error occured
Error loading file
The given key is not in the dictionary

Thank you
 
Upvote 0

hanyelmehy

Active Member
Licensed User
Longtime User
You can load projects with libraries with the trial version.

projects can be loaded without libraries ,i remove refrence and codeing for other libraries just to run main page interface

please check attach file (using code ,screen capture for project)

Thank you
 
Upvote 0

k1988

Member
Licensed User
Longtime User
I get the same problem

Computer: Toshiba Satellite L505
System: Windows 7 Ultimate
Mem: 4 Gb
Basic4Android: licensed (payed)

This appears in the application...

An error ocurred
Error loading file
Provided the key is not in the dictionary

And erased all my code :(
This happend when I restart the application (later some time) or when I restart my laptop.
 

Attachments

  • Error.jpg
    Error.jpg
    21.9 KB · Views: 358
Upvote 0

TimeKeeper

New Member
Licensed User
Longtime User
I got this error after manually manipulating the layout on the Designer Scripts tab in the Designer.
I had a couple errors: 1) a view reference that ended in a dot (no property), and 2) a view reference with a misnamed property.
After fixing them the program compiled.
 
Upvote 0

Mike Maurice

Member
Licensed User
Longtime User
I had a project that experienced this and was in danger of losing the entire code base, since the b4a IDE would not load it, period. The fix was to delete the xxxxx.b4a.meta file. I do not have an explanation for why this fixed the problem, but...
 
Upvote 0
Top