Converting RPG maker mv game into an apk file problem?

tae_ka_pre

Villager
Member
Joined
Apr 1, 2017
Messages
26
Reaction score
22
First Language
English
Primarily Uses
RMXP
Okay, first of all, I'm sorry if I post this in the wrong section, I don't even know if I can post this here since this problem's more of the conversion process and not the actual game-making itself, but still...

So, I wanted my friend to try out the first part of the game I made, of course I want to try it out too, since I always wanna try making games for my phone. So what I did was I followed this tutorial in converting the game I made into an apk file:
The thing is, when I tried following all the steps in his video, I always get this error in the end:


the permissionerror: [winerror5] thing, I keep getting that no matter how hard I try to fix it.
I've ran the command prompt on administrator, took off the hide property of the appdata folder, and stuff but it still keeps getting that error.

I've followed everything:



I've typed the versions of the things I installed btw and it showed their versions and all that, but whatever I do, it just keeps getting that error. I really want to convert my game into an apk file, can anyone tell me what the problem is?
 

sabao

Veteran
Veteran
Joined
Apr 10, 2012
Messages
832
Reaction score
299
First Language
Filipino
Primarily Uses
RMVXA
The audio file 03_Adventurers.m4a is either locked preventing the compiler from accessing it (Read Only?) or its encoding format isn't supported by Android devices. Try taking off 03_Adventurers.m4a or all your audio first and see if you can build the project. This seems to be a problem for a lot of people looking to import to mobile.
 
Last edited:

tae_ka_pre

Villager
Member
Joined
Apr 1, 2017
Messages
26
Reaction score
22
First Language
English
Primarily Uses
RMXP
I turned off the read only property but that didn't do anything, I'll try taking off the audio, but I really don't want my game to have no sound. I'll back it up and try again though
The audio file 03_Adventurers.m4a is either locked preventing the compiler from accessing it (Read Only?) or its encoding format isn't supported by Android devices. Try taking off 03_Adventurers.m4a or all your audio first and see if you can build the project. This seems to be a problem for a lot of people looking to import to mobile.
Edit: okay, so I tried taking off that single music file and paste it on the desktop but it still showed the same error, I think deleting them won't fix it either
 
Last edited:

sabao

Veteran
Veteran
Joined
Apr 10, 2012
Messages
832
Reaction score
299
First Language
Filipino
Primarily Uses
RMVXA
I turned off the read only property but that didn't do anything, I'll try taking off the audio, but I really don't want my game to have no sound. I'll back it up and try again though

Edit: okay, so I tried taking off that single music file and paste it on the desktop but it still showed the same error, I think deleting them won't fix it either
It can't be the same error if the file is no longer there. Which file is returning the error this time? If it's another audio file, I still advise taking them all off first just to see if it compiles.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Tech Support is for when you can't get the engine to work. This looks like a deployment issue, so...

[move]RPGMaker MV Deployment[/move]
 

tae_ka_pre

Villager
Member
Joined
Apr 1, 2017
Messages
26
Reaction score
22
First Language
English
Primarily Uses
RMXP
It can't be the same error if the file is no longer there. Which file is returning the error this time? If it's another audio file, I still advise taking them all off first just to see if it compiles.
no, it's seriously the exact same error even if I deleted it, I don't even know why. I did it twice and it's still the same error, even if I already deleted it from it's folder
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,358
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
if you only delete it in the folder, the game/engine will still be looking for it - and the error originally was that it can't load the file, so there is no difference between being unable to load it for format reasons and being unable to load it for not existing.

Go back to the editor and remove the reference where that file is used, then try again - if it continues then, you'll need to repair or replace the audio file instead of deleting it.
 

tae_ka_pre

Villager
Member
Joined
Apr 1, 2017
Messages
26
Reaction score
22
First Language
English
Primarily Uses
RMXP
The thing is, I have no idea what editor you're talking about. If you watch the video, you'd see all we had to do was install a few programs (java, python, crosswalk, apache ant, android editor, sdk tools, build and platform tools, google usb drive), set their paths and add variables then check if they were installed in the command prompt. Then he made us make a json file named manifest.json, put it on the game's deployed folder then just copy and paste cd directory of the deployed folder of the game on the command prompt, then just copy and paste the python c:/blablabla thing. Never were there any use of an editor, if I'm correct.
if you only delete it in the folder, the game/engine will still be looking for it - and the error originally was that it can't load the file, so there is no difference between being unable to load it for format reasons and being unable to load it for not existing.

Go back to the editor and remove the reference where that file is used, then try again - if it continues then, you'll need to repair or replace the audio file instead of deleting it.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,358
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
@tae_ka_pre
RMMV - the editor that created the game. Because that is the only editor where you can remove something from being used in the game
 

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Profile Posts

Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,855
Messages
1,017,012
Members
137,563
Latest member
MinyakaAeon
Top