*UPDATE: After days of work and probably around 20hrs of total work, I finally figured out it was Spriter's fault the entire time. It took me so long because I didn't suspect it as the cause. When I delete all SCML objects, it works, both in simulate and build. No runtime error, no black screen. Spriter just recently released version 10, an update I accepted, after which I also immediately looked for and installed the latest Spriter plugin for C2 as well, something I always do after every Spriter update, since it doesn't appear to be done automatically. So there's needless to say a high chance that there's a major bug either in Spriter version 10 or its C2 plugin. I'll look into it further tomorrow and then alert Spriter to it. ...Finally!
I get that error in Intel XDK's Simulation and my game doesn't run, just a black screen.
Uncaught ReferenceError: cr_createRuntime is not defined index.html
<script>
document.addEventListener("deviceready", function ()
{
window["c2iscordova"] = true;
// Create new runtime using the c2canvas
cr_createRuntime("c2canvas");
document.addEventListener("pause", function() {
cr_setSuspended(true);
}, false);[/code:1h1szdys]
Searching for the error in the forums and online, some people found that rolling back to an older C2 version (I use the latest beta r241) avoided the error, but I'm stuck on r241 because the project was saved there. I'll never trust beta releases again, and set update notifications in options to be stable releases only, so I'm never stuck like this again. But, for now, can this error be fixed in r241? (or in r242)