Stuck on Sending to Device Android

Jovial Games

  • Posts: 132
Hey guys,

I wanted to test my game on android but I'm getting an issue, the test gets stucked on ''sending to device''
I've attached the logs below and my android phone is on developer mode, so could you please help me out?


Thank you!


Jovial Games

  • Posts: 132
Thank you but I'd prefer to fix this so that Stencyl can tell me about the errors and also it's more convincing that the game works fine if it's compiled and tested through Stencyl

Wasanni

  • *
  • Posts: 136
A few things I would try:

Reinstalling Android SDK
Make sure USB Debugging in Developer Options is turned ON
Check Android target version in Settings

Not sure if any of these will make a difference but I remember years ago when I had this issue I would try these options.

Jovial Games

  • Posts: 132
I did all that as you mentioned Wasanni, but it's still not working. :/

rodolfovs

  • *
  • Posts: 183
Hello

Since the problem is not on the game code, try turning the android USB debugger OFF and ON and try clicking Run> Clean Project.

Jovial Games

  • Posts: 132
Hey Rodolfovs, I did what you suggested. It's still stuck on ''sending to device'' :S

I've been searching throughout the internet but haven't been able to solve this problem as of yet..

Wasanni

  • *
  • Posts: 136
Not really sure what else you can do. I know Stencyl can be kind of glitchy so maybe try a new blank game project and see if it does the same thing. Also if you have access to another computer you can install stencyl and trying running it from there. It might not help but it's worth a try. I've had some weird glitches with stencyl, especially in the earlier versions.

merrak

  • *
  • Posts: 2738
This isn't a good sign:

Code: [Select]
stencyl.sw.SW: Running low on free memory: 100.0
Have you tried increasing the Java memory limit? It might not be the problem, but it is something you'll want to fix regardless. At the very least, I'd suggest ruling it out by increasing the memory and getting rid of the warning. If you're still having problems then we can go on from there.

Jovial Games

  • Posts: 132
Hey guys, I was able to fix the memory issue. I'm attaching the new logs. It was still stuck on ''Sending to device''. I also tried doing Corbanwolf's alternate option but what happens is that if I test my game that way, it happens to lag a lot.

merrak

  • *
  • Posts: 2738
Can you get a blank/test game to send?

I don't do much Android development, so I'm  running out of ideas. The one time I had this problem I think it was just because the game was too big for the phone. If you can get a blank game to work then you can rule out most of the hard to solve issues.

Jovial Games

  • Posts: 132
I couldn't figure out a way so I just went with Corbanwolf's method, thank you everyone for the help though. I highly appreciate it

corbanwolf

  • Posts: 223
No problem. To make it even simpler you can just compiled *.apk file upload to google drive and use google drive on your android device to download it. You don't have to use USB cable
♪♪♪♪♪♪