• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android android export error

P

Pano

Guest
Hi,
I have imported my project initially created using GMS1.4.
Exporting for android, GMS2 show me this error
Code:
Error : gml_Script_creazione_oggetti(0) : Fatal Error while compiling gml_Script_creazione_oggetti - bailing details below
Final Compile...System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ..( )
   at ..( )
   at ..( )
   at ..( )
   at ..( )
   at ..( )
   at ..( )
   at ..( )
   at ..( , )
Could you help me?

PS: where are options "Automatically increase build number" and "Add config and version to filename on create executable" like in GMS1.4?
Thanks
 

Ednei

Member
It looks like a keystore error. Were you able to generate a keystore file for your project? In GM2 you will not be able to compile the project without a valid keystore.
 
P

Pano

Guest
It looks like a keystore error. Were you able to generate a keystore file for your project? In GM2 you will not be able to compile the project without a valid keystore.
yes, I have imported my old keystore file created with GMS1.4.
Using the VM it works, but using YYC the output window show me this:
Code:
Error : gml_Object_object_tasto_sign_out_google_Mouse_7(0) : Fatal Error while compiling gml_Object_object_tasto_sign_out_google_Mouse_7 - bailing details below
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ..( )
   at ..( )
   at ..( )
   at ..( )
   at ..( , )
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ..( )
   at ..( )
   at ..( )
   at ..( )
   at ..( , )
finished.
Stats : GMA : Elapsed=2190,1253
Stats : GMA : sp=82,au=1,bk=0,pt=0,sc=4,sh=0,fo=2,tl=0,ob=67,ro=11,da=2,ex=4,ma=11,fm=0x14892044DED0A21
Error : gml_Object_object_google_login_Alarm_0(0) : Fatal Error while compiling gml_Object_object_google_login_Alarm_0 - bailing details below
Error : gml_Object_object_draw_room_gioco_Create_0(0) : Fatal Error while compiling gml_Object_object_draw_room_gioco_Create_0 - bailing details below
Error : gml_Object_object_draw_room_gioco_Draw_0(0) : Fatal Error while compiling gml_Object_object_draw_room_gioco_Draw_0 - bailing details below
Error : gml_Object_object_draw_room_punteggi_Draw_0(0) : Fatal Error while compiling gml_Object_object_draw_room_punteggi_Draw_0 - bailing details below
Error : gml_Object_object_draw_room_rules_Draw_0(0) : Fatal Error while compiling gml_Object_object_draw_room_rules_Draw_0 - bailing details below
Error : gml_Object_object_draw_room_credits_Draw_0(0) : Fatal Error while compiling gml_Object_object_draw_room_credits_Draw_0 - bailing details below
Error : gml_Object_object_draw_logo_animato_Create_0(0) : Fatal Error while compiling gml_Object_object_draw_logo_animato_Create_0 - bailing details below
Error : gml_Object_object_draw_logo_animato_Alarm_3(0) : Fatal Error while compiling gml_Object_object_draw_logo_animato_Alarm_3 - bailing details below
Error : gml_Object_object_draw_logo_animato_Alarm_2(0) : Fatal Error while compiling gml_Object_object_draw_logo_animato_Alarm_2 - bailing details below
Error : gml_Object_object_draw_logo_animato_Alarm_1(0) : Fatal Error while compiling gml_Object_object_draw_logo_animato_Alarm_1 - bailing details below
Error : gml_Object_object_draw_logo_animato_Alarm_0(0) : Fatal Error while compiling gml_Object_object_draw_logo_animato_Alarm_0 - bailing details below
Error : gml_Object_object_draw_prove_Draw_0(0) : using uninitialised variable 'Roboto_Cond'
Error : gml_Object_object_draw_prove_Draw_0(1) : using uninitialised variable 'Roboto_Cond'
Error : gml_Object_object_draw_prove_Draw_0(0) : Fatal Error while compiling gml_Object_object_draw_prove_Draw_0 - bailing details below
Error : gml_Object_object_motore_gioco_Create_0(0) : Fatal Error while compiling gml_Object_object_motore_gioco_Create_0 - bailing details below
Error : gml_Object_object_motore_gioco_Alarm_10(0) : Fatal Error while compiling gml_Object_object_motore_gioco_Alarm_10 - bailing details below
Error : gml_Object_object_motore_gioco_Alarm_6(0) : Fatal Error while compiling gml_Object_object_motore_gioco_Alarm_6 - bailing details below
Error : gml_Object_object_motore_gioco_Step_0(0) : Fatal Error while compiling gml_Object_object_motore_gioco_Step_0 - bailing details below
Error : gml_Object_object_controllo_effetti_oggetti_Alarm_1(0) : Fatal Error while compiling gml_Object_object_controllo_effetti_oggetti_Alarm_1 - bailing details below
Error : gml_Object_object_persistente_Create_0(0) : Fatal Error while compiling gml_Object_object_persistente_Create_0 - bailing details below
Error : gml_Room_room_di_avvio_Create(0) : Fatal Error while compiling gml_Room_room_di_avvio_Create - bailing details below
Error : gml_Room_room_di_gioco_Create(0) : Fatal Error while compiling gml_Room_room_di_gioco_Create - bailing details below
Error : gml_Room_room_punteggi_Create(0) : Fatal Error while compiling gml_Room_room_punteggi_Create - bailing details below
Error : gml_Room_room_ads_interstitial_Create(0) : Fatal Error while compiling gml_Room_room_ads_interstitial_Create - bailing details below
Error : gml_Room_room_rules1_Create(0) : Fatal Error while compiling gml_Room_room_rules1_Create - bailing details below
Error : gml_Room_room_rules2_Create(0) : Fatal Error while compiling gml_Room_room_rules2_Create - bailing details below
Error : gml_Room_room_rules3_Create(0) : Fatal Error while compiling gml_Room_room_rules3_Create - bailing details below
Error : gml_Room_room_rules4_Create(0) : Fatal Error while compiling gml_Room_room_rules4_Create - bailing details below
Error : gml_Room_room_rules5_Create(0) : Fatal Error while compiling gml_Room_room_rules5_Create - bailing details below
Error : gml_Room_room_credits_Create(0) : Fatal Error while compiling gml_Room_room_credits_Create - bailing details below
Error : gml_Room_room_extra_Create(0) : Fatal Error while compiling gml_Room_room_extra_Create - bailing details below


C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.5.47/bin/GMAssetCompiler.exe exited with non-zero status (1)
elapsed time 00:00:16.4559412s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.5.47/bin/Igor.exe" -options="C:\Users\Samuele\AppData\Local\Temp\GameMakerStudio2\build.bff"  -- Android Package started at 03/05/2017 13:57:30
FAILED : Package Program Complete
 

Ednei

Member
yes, I have imported my old keystore file created with GMS1.4.
Using the VM it works, but using YYC the output window show me this:
Code:
Error : gml_Object_object_tasto_sign_out_google_Mouse_7(0) : Fatal Error while compiling gml_Object_object_tasto_sign_out_google_Mouse_7 - bailing details below
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ..( )
   at ..( )
   at ..( )
   at ..( )
   at ..( , )
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ..( )
   at ..( )
   at ..( )
   at ..( )
   at ..( , )
finished.
Stats : GMA : Elapsed=2190,1253
Stats : GMA : sp=82,au=1,bk=0,pt=0,sc=4,sh=0,fo=2,tl=0,ob=67,ro=11,da=2,ex=4,ma=11,fm=0x14892044DED0A21
Error : gml_Object_object_google_login_Alarm_0(0) : Fatal Error while compiling gml_Object_object_google_login_Alarm_0 - bailing details below
Error : gml_Object_object_draw_room_gioco_Create_0(0) : Fatal Error while compiling gml_Object_object_draw_room_gioco_Create_0 - bailing details below
Error : gml_Object_object_draw_room_gioco_Draw_0(0) : Fatal Error while compiling gml_Object_object_draw_room_gioco_Draw_0 - bailing details below
Error : gml_Object_object_draw_room_punteggi_Draw_0(0) : Fatal Error while compiling gml_Object_object_draw_room_punteggi_Draw_0 - bailing details below
Error : gml_Object_object_draw_room_rules_Draw_0(0) : Fatal Error while compiling gml_Object_object_draw_room_rules_Draw_0 - bailing details below
Error : gml_Object_object_draw_room_credits_Draw_0(0) : Fatal Error while compiling gml_Object_object_draw_room_credits_Draw_0 - bailing details below
Error : gml_Object_object_draw_logo_animato_Create_0(0) : Fatal Error while compiling gml_Object_object_draw_logo_animato_Create_0 - bailing details below
Error : gml_Object_object_draw_logo_animato_Alarm_3(0) : Fatal Error while compiling gml_Object_object_draw_logo_animato_Alarm_3 - bailing details below
Error : gml_Object_object_draw_logo_animato_Alarm_2(0) : Fatal Error while compiling gml_Object_object_draw_logo_animato_Alarm_2 - bailing details below
Error : gml_Object_object_draw_logo_animato_Alarm_1(0) : Fatal Error while compiling gml_Object_object_draw_logo_animato_Alarm_1 - bailing details below
Error : gml_Object_object_draw_logo_animato_Alarm_0(0) : Fatal Error while compiling gml_Object_object_draw_logo_animato_Alarm_0 - bailing details below
Error : gml_Object_object_draw_prove_Draw_0(0) : using uninitialised variable 'Roboto_Cond'
Error : gml_Object_object_draw_prove_Draw_0(1) : using uninitialised variable 'Roboto_Cond'
Error : gml_Object_object_draw_prove_Draw_0(0) : Fatal Error while compiling gml_Object_object_draw_prove_Draw_0 - bailing details below
Error : gml_Object_object_motore_gioco_Create_0(0) : Fatal Error while compiling gml_Object_object_motore_gioco_Create_0 - bailing details below
Error : gml_Object_object_motore_gioco_Alarm_10(0) : Fatal Error while compiling gml_Object_object_motore_gioco_Alarm_10 - bailing details below
Error : gml_Object_object_motore_gioco_Alarm_6(0) : Fatal Error while compiling gml_Object_object_motore_gioco_Alarm_6 - bailing details below
Error : gml_Object_object_motore_gioco_Step_0(0) : Fatal Error while compiling gml_Object_object_motore_gioco_Step_0 - bailing details below
Error : gml_Object_object_controllo_effetti_oggetti_Alarm_1(0) : Fatal Error while compiling gml_Object_object_controllo_effetti_oggetti_Alarm_1 - bailing details below
Error : gml_Object_object_persistente_Create_0(0) : Fatal Error while compiling gml_Object_object_persistente_Create_0 - bailing details below
Error : gml_Room_room_di_avvio_Create(0) : Fatal Error while compiling gml_Room_room_di_avvio_Create - bailing details below
Error : gml_Room_room_di_gioco_Create(0) : Fatal Error while compiling gml_Room_room_di_gioco_Create - bailing details below
Error : gml_Room_room_punteggi_Create(0) : Fatal Error while compiling gml_Room_room_punteggi_Create - bailing details below
Error : gml_Room_room_ads_interstitial_Create(0) : Fatal Error while compiling gml_Room_room_ads_interstitial_Create - bailing details below
Error : gml_Room_room_rules1_Create(0) : Fatal Error while compiling gml_Room_room_rules1_Create - bailing details below
Error : gml_Room_room_rules2_Create(0) : Fatal Error while compiling gml_Room_room_rules2_Create - bailing details below
Error : gml_Room_room_rules3_Create(0) : Fatal Error while compiling gml_Room_room_rules3_Create - bailing details below
Error : gml_Room_room_rules4_Create(0) : Fatal Error while compiling gml_Room_room_rules4_Create - bailing details below
Error : gml_Room_room_rules5_Create(0) : Fatal Error while compiling gml_Room_room_rules5_Create - bailing details below
Error : gml_Room_room_credits_Create(0) : Fatal Error while compiling gml_Room_room_credits_Create - bailing details below
Error : gml_Room_room_extra_Create(0) : Fatal Error while compiling gml_Room_room_extra_Create - bailing details below


C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.5.47/bin/GMAssetCompiler.exe exited with non-zero status (1)
elapsed time 00:00:16.4559412s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.5.47/bin/Igor.exe" -options="C:\Users\Samuele\AppData\Local\Temp\GameMakerStudio2\build.bff"  -- Android Package started at 03/05/2017 13:57:30
FAILED : Package Program Complete
runtime4.png

It looks like you're using the old runtime version runtime-2.0.5.47.

Try downloading the new version 2.0.5.49 as in the figure above.

Ednei
 

Nocturne

Friendly Tyrant
Forum Staff
Admin
Try downloading the new version 2.0.5.49 as in the figure above.
Try this and see what happens, but if the issue persists please file a bug report. The fact that you can compile to VM but not YYC makes me suspect that there may be a bug.
 
P

Pano

Guest
unfortunately, changing runtime's version hasn't solved the problems.
The project works if runned by Window test and if created by Android VM.
It doesn't work if created using Android YYC.

I have opened a bug report. Let you know about this.
Thanks anyway
 
Top