Mobile versions wont work with the plugins i use.

I recently starting trying to make an android version of my game following the steps from Theunpropros youtube tutorial
but when i try to launch the game i get an error saying it failed to run my enemy capture plugin. This plugin is a core part of my game and i cant switch it off so is there a way around this or can mobile not use plugins?


https://forums.rpgmakerweb.com/index.php?threads/capture-enemies.57771/

Here is the plugin im using.
It's likely because you have a space in the plugin name that's not properly escaped. A space is a special character that is not allowed in file paths for HTML5 games (which is basically what the Android export is).

So you can either escape the space character or rename the plugin to not have a space in the name.
besides the fact that you cannot have spaces in filenames, you also renamed the original plugin file.
That is always a bad idea because some plugin properties will stop working if the name of the plugin file is not exactly as the original author has set it.
So please rename all plugins to exactly the name they originally had (in this case DreamX_CaptureEnemies.js) and then it should work (unless there are other problems with the plugin).
This plugin will definitely not pick up any parameters you set up if the file has been renamed - it will use all default values. This is true of any plugin that has parameters that can be set in the plugin manager.
In this case, the exact name doesn't matter because the plugin author isn't using the name to read the parameters:

Code:
var parameters = $plugins.filter(function (p) {
     return p.description.contains('<DreamX Capture Enemies>');
})[0].parameters;
besides the fact that you cannot have spaces in filenames, you also renamed the original plugin file.
That is always a bad idea because some plugin properties will stop working if the name of the plugin file is not exactly as the original author has set it.
So please rename all plugins to exactly the name they originally had (in this case DreamX_CaptureEnemies.js) and then it should work (unless there are other problems with the plugin).
upload_2019-1-14_12-43-59.png


Renamed and im still having the same problem, i then renamed it again without the _ and it still persisted.

I've moved this thread to Plug-In Support. Thank you.

i then renamed it again without the _ and it still persisted.
You CANNOT randomly rename plugin files - the plugin name HAS TO REMAIN as originally set.

If the plugin file can't be loaded with that message, then there are only two options what could be the cause:
1) somewhere else in your filepath is another illegal letter.
To check for this, please give us the entire filepath for your project from driveletter to index.html.
Something like c:\folder1\folder2\projectname\index.html

2) you messed up your plugin manager when changing the plugin file.
This can only happen if you took shortcuts on the way, like editing the main plugin file instead of removing the old file of the plugin and adding the renamed file.
I dont know if is the case. But i already have problems with some plugins in android, they just dont work. My solution was to change the code by myself for it to work. If this is your case, i suggest contact the author from the post of the plugin and ask about this.

Original thread: https://forums.rpgmakerweb.com/threads/mobile-versions-wont-work-with-the-plugins-i-use.104435/