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
3
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
18
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
3
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
18
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
3
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
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 26th Jul 2022 22:16
Quote: "I used the option in agk studio to copy the path name"

Not sure what windows version your using but copying as plain text is something ive noted more recently as a requirement for many programs and
windows 11 has several paste options that may be the issue
PK

Login to post a reply

Server time is: 2024-04-24 22:11:08
Your offset time is: 2024-04-24 22:11:08