Bug Issue: Publishing to android - wont make APK file


Pages: 1

johnjanowskibsc

  • Subscriber - Stencyl Studio
  • *
June 12, 2018, 08:00:29 am
hi, I have enclosed the error messages when compiling here. Any help would be greatly received. thanks. John

018-06-12 15:48:51,273 OFF   [Thread-9] stencyl.sw.util.StreamGobbler: [taskkill] ERROR: The process "neko.exe" not found.
2018-06-12 15:48:51,273 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Process 'taskkill' exited with code: 128
2018-06-12 15:48:51,273 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Running command: [taskkill, /im, adb.exe, /f]
2018-06-12 15:48:51,461 OFF   [Thread-10] stencyl.sw.util.StreamGobbler: [taskkill] ERROR: The process "adb.exe" not found.
2018-06-12 15:48:51,461 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Process 'taskkill' exited with code: 128
2018-06-12 15:48:51,461 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Running command: [taskkill, /im, arm-linux-androideabi-g++.exe, /f]
2018-06-12 15:48:51,633 OFF   [Thread-11] stencyl.sw.util.StreamGobbler: [taskkill] ERROR: The process "arm-linux-androideabi-g++.exe" not found.
2018-06-12 15:48:51,648 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Process 'taskkill' exited with code: 128
2018-06-12 15:48:51,648 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Running command: [taskkill, /im, cc1plus.exe, /f]
2018-06-12 15:48:51,820 OFF   [Thread-12] stencyl.sw.util.StreamGobbler: [taskkill] ERROR: The process "cc1plus.exe" not found.
2018-06-12 15:48:51,836 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Process 'taskkill' exited with code: 128
2018-06-12 15:48:51,836 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Running command: [taskkill, /im, tail.exe, /f]
2018-06-12 15:48:52,008 OFF   [Thread-13] stencyl.sw.util.StreamGobbler: [taskkill] ERROR: The process "tail.exe" not found.
2018-06-12 15:48:52,008 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Process 'taskkill' exited with code: 128
2018-06-12 15:48:52,008 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Running command: [taskkill, /im, ios-sim.exe, /f]
2018-06-12 15:48:52,179 OFF   [Thread-14] stencyl.sw.util.StreamGobbler: [taskkill] ERROR: The process "ios-sim.exe" not found.
2018-06-12 15:48:52,195 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Process 'taskkill' exited with code: 128


johnjanowskibsc

  • Subscriber - Stencyl Studio
  • *
June 12, 2018, 12:33:08 pm
ok. so ive fixed it. I've set the minimum api to 19 but the issue now is the highest target version I cant set is api 22. But Google Pay require a minimum of api 26. I'm updating my android SDK manager but this is proving to be such hardwork!!


rob1221

  • Master Stencyler
  • *
June 12, 2018, 12:53:47 pm
Those errors are unimportant and just mean that Stencyl tried to end processes for other platforms that haven't been started.  Since you're a subscriber you can try Stencyl 3.5 and see if you still have issues.


johnjanowskibsc

  • Subscriber - Stencyl Studio
  • *
June 12, 2018, 12:56:43 pm
Thanks. Have u got a link for 3.5. When I got to update it takes me to 3.4


rob1221

  • Master Stencyler
  • *


johnjanowskibsc

  • Subscriber - Stencyl Studio
  • *
June 13, 2018, 12:38:15 am
Many thanks. I will persist with this again later and let you know how I get on. Much appreciated.


johnjanowskibsc

  • Subscriber - Stencyl Studio
  • *
June 16, 2018, 07:00:18 am
Hi,

So I've upgraded to version 3.5 and although I am able to select APK26, I cant seem to generate a .apk file. I've attached the logs. Any help would be greatly received.

furthermore, since the update the game wont even compile to test in flash. throwing up this error;

/**
   * Sets the current position for the given channel in milliseconds.
   */
   public static function setPositionForChannel(channelNum:Int, position:Int)
   {
      var sc:SoundChannel = engine.channels[channelNum];   
      
      if(sc != null && sc.currentSound != null)
      {
         sc.currentSound.position = position;
      }
   }



John
« Last Edit: June 16, 2018, 01:10:01 pm by johnjanowskibsc »


New attachment added by johnjanowskibsc - June 16, 2018, 07:01:20 am


Justin

  • Master Stencyler
  • *
June 16, 2018, 08:18:44 pm
The error related to the code you pasted was fixed a couple days ago.


Justin

  • Master Stencyler
  • *
June 29, 2018, 12:40:01 pm
Here's the error from the log:

Code: [Select]
[haxelib.exe] C:/Program Files (x86)/Stencyl/plaf/haxe/lib/hxcpp/hxcpp/include/hxcpp.h:1:0: fatal error: can't create precompiled header C:/Users/jj290/AppData/Roaming/Stencyl/stencylworks/games-generated/World Cup Heroes 2018/Export/android/obj/obj/android-v7/__pch/haxe/hxcpp.h.gch: Invalid argument
[haxelib.exe]  #ifndef HXCPP_H
[haxelib.exe]  ^
[haxelib.exe] compilation terminated.

Were you able to get past this by changing your android settings?
  • Tags added: 3.5 HP, android


Issue updated by rob1221 - August 02, 2018, 05:44:46 pm
  • Status changed from New to Need Info


Justin

  • Master Stencyler
  • *
August 09, 2018, 05:37:16 pm
Closing this now because we never got feedback. Most users are able to compile for android, so it was likely an issue with specific tools or versions being used. If you're still having a problem, please post a new issue with logs.
  • Status changed from Need Info to Closed
  • Tags removed: 3.5 HP


Pages: 1

Details

  • Reported
    June 12, 2018, 08:00:29 am
  • Updated
    August 09, 2018, 05:37:16 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    Stencyl 3.4, 3.4.0 beta
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Compiling/Testing Games

Tags


Attachments

* 2018-06-16_14-57-11.log (72.66 kB - downloaded 11 times.)