From MV/MZ to native Android app with Windows and Cordova (Updated july '23)
BMM Archive · July 16, 2026
Original Source
- Original title: From MV/MZ to native Android app with Windows and Cordova (Updated july '23)
- Original author: BenSD
- Original date: June 10, 2022
- Source thread: https://forums.rpgmakerweb.com/threads/from-mv-mz-to-native-android-app-with-windows-and-cordova-updated-july-23.148385/
- Source forum path: Game Development Engines > RPG Maker Tutorials > Non-Maker Specific Tutorials
Summary
Heyo, makers! I've done this a few times, including just recently thanks to a failed hard drive, so I thought I'd share my full process for making an app, since it comes up on here every so often. There are other ways, and I'm not claiming this is the best way, but it's been reliable for me. While the process should be pretty similar from a Mac or to make an iOS deployment, I don't have anything Apple to test it on, so I can't say for sure; this tutorial...
Archived First Post
I've done this a few times, including just recently thanks to a failed hard drive, so I thought I'd share my full process for making an app, since it comes up on here every so often. There are other ways, and I'm not claiming this is the best way, but it's been reliable for me. While the process should be pretty similar from a Mac or to make an iOS deployment, I don't have anything Apple to test it on, so I can't say for sure; this tutorial assumes you're using Windows and deploying to Android -- sorry for that limitation. You can find similar walkthroughs scattered around the internet, but this one is intended to be more complete and relevant to RM.
A word of warning: this isn't a short process or a short tutorial. The whole thing is generally pretty simple (and easy to Google if you hit a snag), but there are lots of steps and installs, and it can be time consuming the first time through. The good news is that you only have to do all this once, then you can churn out a fresh version of your app or another game with ease.
- RPG Maker MV or MZ (obviously)
- A game you want to deploy to Android (also obviously)
- Node.js - http://nodejs.org
- Git - http://git-scm.com
- Apache Cordova (install via npm described below)
- Java JDK - www.oracle.com/technetwork/java/javase/downloads/
- Android Studio - https://developer.android.com/studio
- Gradle - https://gradle.org/install/
- Icon images (optional)
- Cordova Fullscreen Plugin - https://github.com/mesmotronic/cordova-plugin-fullscreen (optional)
node --version
npm install -g cordova
cordova --version
cd Documents/Output/android
cd ../
cordova create <folder> <identifier> <name>
cordova create GameFolder com.rmmz.mygame MyGame
cordova platform add android
cordova platform ls
cordova requirements
Now that you (hopefully) have your System Properties window, click the Advanced tab and then click "Environment Variables." Under User variables select Path and click on edit. It's possible you won't have Path listed there; in that case, click the New button and put the Variable name as "Path" (no quotes). That should get us all caught up to the same point.
In the Edit environment variable window, hit new and type in the location of you JDK install (you can just copy and paste from the explorer address bar). If you used the default settings, it should look something like this:
C:\Program Files\Java\jdk-11\bin
C:\Program Files\Java\jdk-11
javac -version
Once it's all set up, click 'more actions' from the starting screen (in Android Studio "Flamingo," which is the most current as of writing this), then select "SDK Manager" from the drop down. You need a few things here:
In the "SDK Platforms" tab, you'll need to install 'Android 13.0 Tiramasu' (or whatever version you'd like to build for; API 33 is the highest supported by Cordova 12).
In the "SDK Tools" tab, you'll first need to uncheck 'Hide Obsolete Packages' and check 'Show Package Details.' Under "Android SDK Build-Tools 34," install 33.0.2. Then scroll down until you see "Android SDK Command-line Tools (latest)" and "Android SDK Platform-Tools." Install all of those, and optionally "Android Emulator."
If you've got a different version of Cordova, check out this page to see which Android versions are supported: https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html
C:\Users\YourName\AppData\Local\Android\Sdk\tools
C:\Users\YourName\AppData\Local\Android\Sdk\cmdline-tools\latest\bin
C:\Users\YourName\AppData\Local\Android\Sdk\platform-tools
C:\Users\YourName\AppData\Local\Android\Sdk\emulator
C:\Users\YourName\AppData\Local\Android\Sdk\build-tools
That's all for User Variables; now go down to System variables. This time we're looking for ANDROID_SDK_ROOT, which you'll probably have to make. Click new, type ANDROID_SDK_ROOT into the name field, and enter the SDK directory into the Variable value. This is probably just going to be the same as the locations you used above, minus that last subfolder, making something like this:
C:\Users\YourName\AppData\Local\Android\Sdk
Click OK a couple times when you're done. As always, we want to test, so open the command prompt and type in the following to see if you get a version number:
adb version
C:\Gradle\gradle-8.2\bin
gradle -v
cordova requirements
<icon src="res/icon.png" />
<platform name="android">
<icon background="res/ldpi-bg.png" density="ldpi" foreground="res/ldpi-fg.png" src="res/ldpi-fg.png" />
<icon background="res/mdpi-bg.png" density="mdpi" foreground="res/mdpi-fg.png" src="res/mdpi-fg.png" />
<icon background="res/hdpi-bg.png" density="hdpi" foreground="res/hdpi-fg.png" src="res/hdpi-fg.png" />
<icon background="res/xhdpi-bg.png" density="xhdpi" foreground="res/xhdpi-fg.png" src="res/xhdpi-fg.png" />
<icon background="res/xxhdpi-bg.png" density="xxhdpi" foreground="res/xxhdpi-fg.png" src="res/xxhdpi-fg.png" />
<icon background="res/xxxhdpi-bg.png" density="xxxhdpi" foreground="res/xxxhdpi-fg.png" src="res/xxxhdpi-fg.png" />
</platform>
<icon background="res/ldpi-bg.png" density="ldpi" foreground="res/ldpi-fg.png" monochrome="res/mono-ldpi-fg.png" src="res/ldpi-fg.png" />
<preference name="Fullscreen" value="true" />
cordova build
C:\Users\YourName\Documents\Output\android\MyGame\platforms\android\app\build\outputs\apk\debug
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, width=device-width, viewport-fit=cover">
<body style="background: #4e2759 url(img/background/dopebg.png)">
Questions? Comments? Did I screw something up? I've done this process a few times (not just with RPG Maker), so I'll happily try to answer any questions that come up, but I'm really not an expert either. If anything needs to be fixed, let me know and I'll get to editing this post. Thanks for reading and I hope this helps!
Edit: It is very late, but I tried to fix some of the outdated or otherwise wrong material here. I might, however, have just made it worse...I hope it helps, but please continue to leave any feedback that might help me or the next person trying this!
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...