So I finally got my project to export to Android. So far so good. However the game crashes on startup with the error on the title .If one is accessable i can find a debug console and copy the info from it but I don't know if this exists in an Android deployment or if it stores an error log somewhere .
Either way, it works fine on windows and as a game running off a web server. So it has to be sometging to do with abdroid .
Does anyone know what commonly cause this error?
Wrong filepath preventing some files to be loaded: Windows has an override that redirect a load function to the wrong file if the correct one can not be found. On other systems in the case of a failed load because the correct file does not exist the load will fail instead of the OS guessing which other file might fit.
Or it could be that you used some of the plugins by srd that can not be used on true web deployment as they require node.js iirc.
Edit: for the first case, show us your full path on Windows (from drive letter to index.HTML) and we can check for that.
C:\users\cpwhi\desktop\test\Fantasy Quest\www\index.html
I should also note that there is no plugins or custom graphics used as of now. It's all base resources because this is just me trying to learn the HTML5 and Android export parts. Would like to produce for iOS too but a MacBook is kinda needed for that
Huh. I wonder if that could've been part of why it was hard to get crosswalk to build the app, besides the fact it's outdated and useless on latest Android. I'll try this when I get back home from work and verify there is no spaces.
EDIT: It does actually work as is as a web server using the built in Windows 10 thing, but I think the path for that is
C:/inetpub/www/ or something like that. I would have to look
Edit2: I am also going to reproduce it with Cordova to see if it has something to do with crosswalk no longer being supported.
This error still happens even with removing all spaces out of file names and everything