Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / files not found when on android but work when testing in AGK

Author
Message
dandrews
2
Years of Service
User Offline
Joined: 26th Jun 2020
Location:
Posted: 20th Jun 2022 23:42 Edited at: 21st Jun 2022 00:31
i keep getting files not found after installing the apk onto my android phone and loading the game. the File path is AlienA/AlienAWalk/AilienWalk1.png ive double checked the path and it is all correct. All works fine in AppGameKit and when testing using the broadcast on my phone. i do remember having this issue before but cant remember how i fixed it. this is the path copied right from my pc "media\AlienA\ALienAWalk\AlienAWalk1.png"
Virtual Nomad
Moderator
16
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 21st Jun 2022 00:11 Edited at: 21st Jun 2022 00:12
i can't remember for sure but aren't filenames case sensitive on mobile? IE:



desktops dont much care about case (WIN, at least).
dandrews
2
Years of Service
User Offline
Joined: 26th Jun 2020
Location:
Posted: 21st Jun 2022 00:15
so i should make them all lowercase ?
Virtual Nomad
Moderator
16
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 21st Jun 2022 00:37 Edited at: 21st Jun 2022 00:42
make them match precisely, IIRC (or make them all lower). i dunno if you already are since you didn't provide code, just pathname?

also, if you haven't used SetFolder() or the like, you can skip this part "media\"

btw, the part of the path: "ALienAWalk" was what caused my suspicion. ie, are you sure it's ALien vs Alien in your code? if you copy/pasted, it should match but again, since no code, just making sure.
dandrews
2
Years of Service
User Offline
Joined: 26th Jun 2020
Location:
Posted: 21st Jun 2022 02:27
No your right the L was a mistake but it's strange because I used the option in agk studio to copy the path name

Login to post a reply

Server time is: 2022-06-29 07:50:42
Your offset time is: 2022-06-29 07:50:42