Bug Issue: Issues when compiling for testing on Android.


Pages: 1

Mikeron

  • Junior Stencyler
April 10, 2018, 08:08:39 am
I am new to using Stencyl and just wanted to see if I could figure out how to test a game on my phone.  I am using a Galaxy S7.  These are the errors I get when I click "Test Game":

2018-04-10 10:29:52,056 OFF   [Thread-38] stencyl.sw.util.StreamGobbler: [taskkill] ERROR: The process "arm-linux-androideabi-g++.exe" not found.
2018-04-10 10:29:52,069 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Process 'taskkill' exited with code: 128
2018-04-10 10:29:52,069 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Running command: [taskkill, /im, cc1plus.exe, /f]
2018-04-10 10:29:52,268 OFF   [Thread-39] stencyl.sw.util.StreamGobbler: [taskkill] ERROR: The process "cc1plus.exe" not found.
2018-04-10 10:29:52,279 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Process 'taskkill' exited with code: 128
2018-04-10 10:29:52,280 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Running command: [taskkill, /im, tail.exe, /f]
2018-04-10 10:29:52,479 OFF   [Thread-40] stencyl.sw.util.StreamGobbler: [taskkill] ERROR: The process "tail.exe" not found.
2018-04-10 10:29:52,491 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Process 'taskkill' exited with code: 128
2018-04-10 10:29:52,492 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Running command: [taskkill, /im, ios-sim.exe, /f]
2018-04-10 10:29:52,686 OFF   [Thread-41] stencyl.sw.util.StreamGobbler: [taskkill] ERROR: The process "ios-sim.exe" not found.

If someone could help me, it would be greatly appreciated.


rob1221

  • Master Stencyler
  • *
April 12, 2018, 08:12:45 am
Could you attach full logs?
  • Status changed from New to Need Info


New attachment added by Mikeron - April 15, 2018, 12:53:59 pm


Mikeron

  • Junior Stencyler
April 15, 2018, 12:54:40 pm
Sorry for the late response, I attached the logs.  Thank you for your time!


rob1221

  • Master Stencyler
  • *
April 15, 2018, 01:43:56 pm
I see a point where the build succeeded, so what happened after that point?  Did you get the "Sending to Device" pop up?


Mikeron

  • Junior Stencyler
April 15, 2018, 03:02:31 pm
yes, that popped up. I'm not sure what to do at that point so I copied what I believe is called the apk file and pasted it into the download folder on my phone and installed it from there.  It said it worked, and I got an icon for the app, but when I click on it, it just shows a black screen and nothing happens.  I have a basic scene in the game that should show up.


rob1221

  • Master Stencyler
  • *
April 15, 2018, 03:27:16 pm
Do you have USB debugging enabled on your device, and did you install USB drivers for it?


Mikeron

  • Junior Stencyler
April 15, 2018, 05:08:31 pm
I have a Galaxy S7.  I'll see if I can figure out how to enable USB debugging.  Forgive my ignorance, but I'm not sure what you mean by your second question.  Do you think what I did with the apk file should be working?  There's probably some simple reason why it is not working.  If I try to test the game via USB on my device, does it matter whether the device is on or off or which port it's connected to?


rob1221

  • Master Stencyler
  • *
April 15, 2018, 05:38:55 pm
Make sure your device is on and USB debugging is enabled before plugging the device in.  If your game still isn't sent to the device then you'll need to find and download USB drivers for your device.  More info about drivers: https://developer.android.com/studio/run/oem-usb.html

I don't know why your APK isn't working, but being able to test from Stencyl would help with logging information.


Mikeron

  • Junior Stencyler
April 15, 2018, 06:10:25 pm
Okay I'll see what I can do,  and will see if I have any luck.  Thank you for your help, I appreciate it:)


Issue updated by Justin - July 11, 2018, 12:30:56 am
  • Status changed from Need Info to Closed


Pages: 1

Details

  • Reported
    April 10, 2018, 08:08:39 am
  • Updated
    July 11, 2018, 12:30:56 am

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

Tags


Attachments

* log-2018-04-10.zip (100.25 kB - downloaded 10 times.)