Errors when compiling for Android

leogallardo

  • *
  • Posts: 28
So this hopefully will help someone that is struggling with the compiling of a game in stencyl.

This solution is not science, and probably it's not a solution for ALL the errors out there.. but it's an error that I faced myself when trying to compile my game:

Despite the fact that there's a tutorial already done for installing stencyl correctly, I'm leaving the direct link to the java 6.31 that most people (included me) had troubles finding.
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html

Second of all (and this is why this post is under BUGS) is:
DO NOT USE STENCYL OUT OF THE BOX IF YOUR WINDOWS USER NAME HAS NON-ENGLISH CHARACTERS OR SPACES!
I had 2 exact computers, the installer was the same, java was the same, the usb drivers were the same, yet whenever I tried to compile in one of them, I got all kind of errors for "file not found". One of them was named "Diseñador"
In my case (I'm from Argentina, so "Ñ" is a completely normal character), that was my problem.

In order to solve this, just change the "Workspace Folder".
You'll need to close all the games before). Then go to File --> Preferences

and change the workspace to something that has:
* NO SPACES
* NO SPECIAL CHARACTERS

And boom! Compiling problems solved (at least the kind of problems referred to a "file not found".

Hope this solves someone's issues.

Cheers :)