Error Compiling to Android "openfl.sh Starting: Intent...", Build 8261

spaceman

  • Posts: 17
After upgrading from build 8140 to build 8261, I have gotten the following error in the log with a game I had no trouble with earlier. The error happens at the end of the "Test Game" compilation for android, and the game launches successfully automatically on the device after compilation, as well as perfectly fine manually once closed and re-opened from the application drawer. I will upload a complete log on request. The fact that everything seems to work as expected, and yet this error pop up is a little unnerving. The error happens right after the "RUN" command in the log.
Code: [Select]
Level:     ERROR
When:      2015-03-14 14:57:34:626
From:      stencyl.sw.util.StreamGobbler

[openfl.sh] Starting: Intent { act=android.intent.action.MAIN cmp=com.yourname.gamename/.MainActivity }

bambucha

  • *
  • Posts: 46
Hey, i am encountering the same problem, with one difference... my game crashes when i switch to selected scenes (can be a bug on my side).
Check out my games:
Highway Dodger    Highway Dodger 2     Dev Blog (in the making)
           

bambucha

  • *
  • Posts: 46
Managed to figure out crashing.. had to install/update android sdk (was missing  versions 14-17 i think).
But i found out that this problem made it so i cannot update the game. If i install an older version on my phone, i have to publish a apk file and install the apk in order to update it. Simply testing the game directly doesnt work (does completely nothing, only opens the non-updated game). I am kinda confused atm xd
Do you have the same problem maybe?
Check out my games:
Highway Dodger    Highway Dodger 2     Dev Blog (in the making)
           

captaincomic

  • *
  • Posts: 6108
After upgrading from build 8140 to build 8261, I have gotten the following error in the log with a game I had no trouble with earlier. The error happens at the end of the "Test Game" compilation for android, and the game launches successfully automatically on the device after compilation, as well as perfectly fine manually once closed and re-opened from the application drawer. I will upload a complete log on request. The fact that everything seems to work as expected, and yet this error pop up is a little unnerving. The error happens right after the "RUN" command in the log.
Code: [Select]
Level:     ERROR
When:      2015-03-14 14:57:34:626
From:      stencyl.sw.util.StreamGobbler

[openfl.sh] Starting: Intent { act=android.intent.action.MAIN cmp=com.yourname.gamename/.MainActivity }
This error is fixed now in build 8270.

bambucha

  • *
  • Posts: 46
Thanks for the quick fix, youre awesome!
But there is still one thing kinda not working...
I can confirm the error is fixed, but after compiling  "sending to device" never finishes.
It does everything correctly and opens the app on the phone, but it gets stuck at:
Code: [Select]
---stuck here---[openfl.bat] --------- beginning of system
[openfl.bat] --------- beginning of main
[openfl.bat] Running command: TRACE
[openfl.bat] Starting: Intent { act=android.intent.action.MAIN cmp=com.bambucha.highwaydodger2/.MainActivity }
where as it should continoue doing this:
Code: [Select]
Finished building for Android.Replugging my device solves the problem.
Check out my games:
Highway Dodger    Highway Dodger 2     Dev Blog (in the making)
           

captaincomic

  • *
  • Posts: 6108
Okay, I see, should be working as intended now in 8277.