Exporting for iOS and Android

Because there's probably going to be a bajillion posts about this (like this one!), this short thread will explain how mobile exports work. 

 ​
How it works​
 ​
Now, Windows and Mac exports in RMMV use the Node.js desktop client to pack the games up. Selecting the iOS/Android export option in the deployment options will give you a folder of your project with just the resources and an index.html file. That's because there's no binary file for the mobile exports. The manual (press F1) tells you how to set the mobile ports up. It's a very involved and technical process, but if you follow the directions as they are in the manual, you will be fine. No need to panic. No need to riot. Be happy that these methods are officially supported.

Since the manual already has a guide on creating the binary files for mobile devices, I won't regurgitate it here. It's up to you to read and understand. I expect within a relatively short amount of time, people will have made video tutorials on the process, so you can follow those if you can't understand the manual.

PLEASE NOTE MV does no checks for what resources you use, because scripts can't easily be read to tell, and that can break games. It's up to you to pick and choose your resources. This can result in large project sizes. There are limits as to the filesizes that mobile app stores will allow you to upload. It is up to you to only include resources you need.
mmm ... I think this will go better in MV Support.  I will also pin it, at least temporarily.  Thank you for posting the information.
mmm ... I think this will go better in MV Support.  I will also pin it, at least temporarily.  Thank you for posting the information.
Sorry, I'm trying to hyper-post a lot of information and checking a lot of topics to make sure everything is not filled with bad information. 
I im very noob in rpgmaker but i know develop with python and c# if people want I can create a GUI for make more easy the build for apk
I im very noob in rpgmaker but i know develop with python and c# if people want I can create a GUI for make more easy the build for apk
That would be... amazing. I'm sure I could do it with the manual, most people could if they are making a full game, but if you could do that for us it would be absolutely wonderful 🙂

I'd also like to mention that the maximum size for Android apps is 100MB, and that's only if its 4.0+. If it's below that, then it's 50MB.
I im very noob in rpgmaker but i know develop with python and c# if people want I can create a GUI for make more easy the build for apk
This is the best idea I ever heard about! You definitely should make this! 🙂  

That would be... amazing. I'm sure I could do it with the manual, most people could if they are making a full game, but if you could do that for us it would be absolutely wonderful 🙂

I'd also like to mention that the maximum size for Android apps is 100MB, and that's only if its 4.0+. If it's below that, then it's 50MB.
Is this true? I can remember Heartstone for Android and some other games are bigger than 700mb? 😮
I im very noob in rpgmaker but i know develop with python and c# if people want I can create a GUI for make more easy the build for apk
You could do well making a suite of tools. For example json files let you go past the hard limits. like map 256x256 can be set higher via json.
Heres another way to do it, if you have intel xdk you can do it in a few minutes.




I tried what this guy said, he posted this on the steam forum.  Was a lot easier.
This is the best idea I ever heard about! You definitely should make this! 🙂

Is this true? I can remember Heartstone for Android and some other games are bigger than 700mb? 😮
The main APK size is limited to 100mb yes, but you can split the APK using OBB extension to allow users to download the rest of the game once they've installed the main APK from the play store.

http://developer.android.com/google/play/expansion-files.html

Anyway, if you carefully remove most of the assets you're not using (music & backgrounds) for small projects you should be able to get it under 100mb.
Correct me if I'm wrong but you can still have an APK larger than 100MB uploaded onto your website for download. Since android allows non-app store downloads.
How do you split APK larger than 100MB into OBB files?
How do you split APK larger than 100MB into OBB files?
Here's where I'd start with research.

http://www.exoa.fr/tutorial-unity-4-apk-splitting-google-play-obb/
Here's where I'd start with research.
Doing it now, but I'm completely new to android development scenes 🙁
Correct me if I'm wrong but you can still have an APK larger than 100MB uploaded onto your website for download. Since android allows non-app store downloads.
Yes you can do this! Especially helpful if you don't want to pay for the developer's license which is like $30 USD.

However, if you update the game, people will need to download the new file manually.

The main APK size is limited to 100mb yes, but you can split the APK using OBB extension to allow users to download the rest of the game once they've installed the main APK from the play store.

http://developer.android.com/google/play/expansion-files.html

Anyway, if you carefully remove most of the assets you're not using (music & backgrounds) for small projects you should be able to get it under 100mb.
That makes more sense. Kind of like an EXE installing things onto your computer. Main file is smaller and it installs more, right? I think The Sims 3 does that.
Doing it now, but I'm completely new to android development scenes 🙁
Doing this is a little difficult, because the extension files are installed separately from the application itself, and by default you can't access Android's filesystem. It's possible to do, but takes work.
Okay I've been going through the steps to stick this app on my iPhone. I haven't done this for a few years, and wow, they have added so many freaking things that you have to do. It's sort of ridiculous.

Anyways, I did run into an error.

Step 4-3-1 I am unable to archive the project. It gives the following error: "'Cordova/CDVViewController.h' file not found."

I've attached a link to a screenshot.

 

http://postimg.org/image/846eal5zx/
Okay I've been going through the steps to stick this app on my iPhone. I haven't done this for a few years, and wow, they have added so many freaking things that you have to do. It's sort of ridiculous.

Anyways, I did run into an error.

Step 4-3-1 I am unable to archive the project. It gives the following error: "'Cordova/CDVViewController.h' file not found."

I've attached a link to a screenshot.

 

http://postimg.org/image/846eal5zx/
You may want to post that in your own thread.
You may want to post that in your own thread.
I actually resolved it. It had nothing to do with RPG Maker, it had to do with the latest Apple update to Xcode. Although it may be good to note somewhere.
someone can create a APK Builder for MV?
someone can create a APK Builder for MV?
That is literately impossible. There are many steps involved to create a working APK. Otherwise you'd just have to zip the contents of of the deployment directory and it would work.

It may be easier to just setup a local web server if you're only testing things. If you're actually putting stuff on Google Play, it's very involved, even if you use something like the Intel XDK.

Original thread: https://forums.rpgmakerweb.com/threads/exporting-for-ios-and-android.46343/