MV Android apk incompatibility whit Yanfly Pluguins?

Hello, I would like to know if some yanfly plugins make the exported game incompatible with the android version.

When exporting the game, everything works fine but when carrying out a battle, the game throws an error that says that the image of the enemy is not inside the folder, which I checked and it is not. I am using "AnimatedSVEnemies" from Yanfly and maybe that has something to do with it
Hello, I would like to know if some yanfly plugins make the exported game incompatible with the android version.

When exporting the game, everything works fine but when carrying out a battle, the game throws an error that says that the image of the enemy is not inside the folder, which I checked and it is not. I am using "AnimatedSVEnemies" from Yanfly and maybe that has something to do with it

The image is NOT in the folder? Did you try moving it there?

Or did you fall into the trap of a double negative?
no, in theory all yanfly plugins should be compatible with android - IF they are installed correctly.

There are however several things you could have done wrong to cause such errors:

1) wrong filenames: All filenames have to obey the networking rules for filenames, which means no spaces and only a limited number of special signs and a few more.
Windows has overrides to force illegal letters to work, but that is much more critical for android.

2) wrong order of yanfly plugins: Strange effects are known to happen if your yanfly plugins are in the wrtong order. They have to be in the order of his list on his website, top to bottom.

3) not registered files removed by deployment: If a file is only used by plugins, nowhere else in the engine, then the editor will remove it if the checkbox "remove unused files" is checked during deployment.
To solve this the file needs to be either registered by javascript, or you could create a fake map that is never linked anywhere and use those files in events on that map. That is enough to make the editor include it on deployment.



If neither of the options above fit, then we need a screenshot of the error message with all details.
You might have to install a plugin that gives the error trace on android, but if I remember correctly then Yanfly's core should already do this.
The image is NOT in the folder? Did you try moving it there?

Or did you fall into the trap of a double negative?
Sorry, the image IS on the folder haha my bad.
no, in theory all yanfly plugins should be compatible with android - IF they are installed correctly.

There are however several things you could have done wrong to cause such errors:

1) wrong filenames: All filenames have to obey the networking rules for filenames, which means no spaces and only a limited number of special signs and a few more.
Windows has overrides to force illegal letters to work, but that is much more critical for android.

2) wrong order of yanfly plugins: Strange effects are known to happen if your yanfly plugins are in the wrtong order. They have to be in the order of his list on his website, top to bottom.

3) not registered files removed by deployment: If a file is only used by plugins, nowhere else in the engine, then the editor will remove it if the checkbox "remove unused files" is checked during deployment.
To solve this the file needs to be either registered by javascript, or you could create a fake map that is never linked anywhere and use those files in events on that map. That is enough to make the editor include it on deployment.



If neither of the options above fit, then we need a screenshot of the error message with all details.
You might have to install a plugin that gives the error trace on android, but if I remember correctly then Yanfly's core should already do this.
But the game still working on RPG maker. is it possible that it works in rpg maker playtest but not later when exporting the game?
Hello, I would like to know if some yanfly plugins make the exported game incompatible with the android version.

When exporting the game, everything works fine but when carrying out a battle, the game throws an error that says that the image of the enemy is not inside the folder, which I checked and it is not. I am using "AnimatedSVEnemies" from Yanfly and maybe that has something to do with it

Is the name of the file appropriate(ie: no spaces).

After exporting. Transfer all files to a brand new folder. I have had issues with missing files resolved by this.
Moved to: Plugin Support
is it possible that it works in rpg maker playtest but not later when exporting the game?
YES, that is exactly why I mentioned the wrong filenames.

Windows has the quirk of loading the wrong file if a file on a similar name exists: A.png and a.png are different filenames, and ONLY under Windows the wrong file is loaded if the correct files does not exist.

If the engine tries to load A.png and that file does not exist, but a file named a.png exists, then Windows will load the wrong file but all other operating systems will report "file not found"

Original thread: https://forums.rpgmakerweb.com/threads/android-apk-incompatibility-whit-yanfly-pluguins.156940/