Hi bros. My native language is russian, so i`m sorry if text below will strange for you
I spent many time to find a solution how to compile Android-APK-file without installing JRE, JDK, Aapt, Android SDK, Python, nodeJS and all this stuff in to Windows for only one purpose. I mean portable
I googled html5apkbuilder
(incomplete), official guide (need TOO many soft to install), and couple of tools which is wasn`t satisfy me by some reason (not only me if they are not popular).
After three days of working i made a package of: minimized portable java environment + APK recompilator + application sign key creator + several necessary tools to create an android application + batch script for simplifying whole process.
I tested this package on CLEAN Windows: XP(x86), 7(x64), 10 (x64) without any sign of JAVA SDK. And it`s work!
So here is screenshot:
I think it`s totally obvious what you can do here
Application sign key must be created at least once (of course you can recreate it as many as you want). So before your first APK making you should make a sign key - it`s easy. Just answer a few questions in script (Name, City etc.)
Next you should place your "www
" folder in "!RPGMV
Also you can replace an icon there (!RPGMV\icon.png). Icon can be any resolution - script will generate the right one(s). But it must be PNG picture.
Now you can choose 1st option and you`ll see this:
After filling this form (and press enter) you must wait about a minute.
You`ll get theese files:
0_app.unsigned.apk - totally will not install but you can sign it manually (needs for devs)
1_app.signed.apk - signed working application
2_app.signed.aligned.apk - signed working optimized
application - this is your file!
Also, as bonus, script can make 3_app.signed.max-optimized.apk
- this is application with insane optimization but this optimization can long a hours, so you can wait or just close script window on this step. My apk (from video) without optimization weight is about 50Mb and 40Mb after it.
P.S. i`m working with RPGMMV 1.5.1 and Android 6.0.1. Regards!