Hi guys,
I managed to successfully convert my game to an android crosswalk APK file (the manual way would always give a "need to install crosswalk library" message on my phone but the intel xdk way worked.
However when I run the game on my Samsung S6 mobile, when I go into a battle it will say "weapon1.png" not found. Although the file is in the android deployment. Also a large number of events do not work even though they work flawlessly when on the PC.
I'm wondering if other people have run into the same issue and if so what they did to trouble shoot it.
Android apk issues
● ARCHIVED · READ-ONLY
-
-
I've moved this thread to MV Deployment. Please be sure to post your threads in the correct forum next time. Thank you.
Have you checked the filepath and filename for upper/lower case? Windows is an OS where the difference doesn't matter, but all devices and programs that are based on networking names see that as two different names.
or in other words, if the true filename is "weapon1.png" but the program searches for "Weapon1.png" (or the other way around), then only Windows will find the file but most other OS will not. -
Andar: Thanks for moving it to the correct thread. I wasn't sure exactly where to post it. I will know from now on!
It looks like the filename has a capital at the start, I'll try changing it to lowercase and re-building it to see if it helps. Thanks for advise.
Do you have any advice on events not working? I've just noticed that a few of the events that aren't working reference sound files, they appear to be named correctly as per what is defined in the event, but is there a known issue with sound referencing and events? I have both the files in ogg & m4a formats as the Asset Standards state.
-
Removing the sound from the event fixed the event problems... I'll have to try to figure out why that's happening,
I've renamed the Weapons1.png to weapons1.png, using the new "deployment exclude unused files" in version 1.1, it didn't copy across the newly renamed weapons1.png to the deployment folder. However after manually moving it across it I'm no longer getting the issue and battles are working fine.
Thanks for your help Andar!
Once I figure out whats causing the issue with the sound files in events not working most things should be working as they are meant too. -
Scratch that.... it was working in the emulator with the file renamed to weapons1.png, but when I actually got the APK on my phone, it didn't even wait until the battle screen to throw up the error "no Weapons1.png found"
Maybe its referenced as lowercase weapons1.png in a plugin somewhere and uppercase by RMMV -
Yup, got it working on the device, it was the Spriteweaponenhanced.js plugin... even though it was turned off. In the plugin they referred to Weapon1.png as weapon1.png, just changed that and it works on the device //rmwforums.s3.amazonaws.com/emoticons/default_smile.gif