ScytherZ

Warper
Member
Joined
Feb 24, 2020
Messages
2
Reaction score
0
First Language
Turkish
Primarily Uses
RMMV
What's wrong?
 

Attachments

  • 2020.10.25-15.44.png
    2020.10.25-15.44.png
    163.2 KB · Views: 39
  • 2020.10.25-15.44.png
    2020.10.25-15.44.png
    163.2 KB · Views: 36

won2526

Villager
Member
Joined
Nov 19, 2015
Messages
6
Reaction score
0
First Language
Korean
Primarily Uses
코드가 Android 64 비트를 지원합니까? 최근에 APK를 만들었는데 32 비트 버전 만 존재했기 때문에 Google Play 스토어 등록이 거부되었습니다.
 

won2526

Villager
Member
Joined
Nov 19, 2015
Messages
6
Reaction score
0
First Language
Korean
Primarily Uses
oh, I have choose the wrong language in Google Translator.


Re-enter


Does your code support Android 64-bit? I recently created an APK and was denied registration in the Google Play Store because only the 32-bit version exists.
 

won2526

Villager
Member
Joined
Nov 19, 2015
Messages
6
Reaction score
0
First Language
Korean
Primarily Uses
Hi!, I'm getting this error to load images like $image.png, shows an error "failed to load %24image.png, chrono engine uses $files

Why %24 is showing in URL

Any way to fix it?

Edit. ----------------------------------------------
It wasn't the specific error, the problem is with chrono engine, failed to load Hero03_act01 while playing on android specifically


I had a similar problem.

In the case of the Chrono engine's ABS mode, capital letters are the main cause of images that cannot be loaded.
Change the file name to lowercase, and change all event settings of "Tool Map" from uppercase to lowercase.
Capitalization in item notes in the database must also be changed to lowercase. Memo of Armor #1 I have confirmed that Shield Pose Suffix: _Shd01 works normally when I change it to Shield Pose Suffix: _shd01.
 

ScytherZ

Warper
Member
Joined
Feb 24, 2020
Messages
2
Reaction score
0
First Language
Turkish
Primarily Uses
RMMV
I am having same problem. Have you found how to fix it or can anyone help me?
I could not found how to fix it. I still need help: /
 

knocz06

Curious Rabbit
Member
Joined
Jun 28, 2020
Messages
23
Reaction score
5
First Language
Indonesian
Primarily Uses
RMMV
It's a great client but... There are errors in my map eventhough I saw the parallax map there.. And seems like whenever I try to save, I got the "this save file is from different game".. How to fix this?
 

kyorin_707

Warper
Member
Joined
Dec 8, 2020
Messages
3
Reaction score
0
First Language
english
Primarily Uses
RMMV
for some reason new>folder doesnt work for me
 

ael

Warper
Member
Joined
Dec 29, 2020
Messages
1
Reaction score
0
First Language
German
Primarily Uses
RMMZ
Hello,I tried this method with no plugin MZ project and when I open it on my phone it's only blackscreen,but the music is there.
It only works and run when I tapped many times on the blackscreen. Any fix?

Update : The left side of the screen must be tapped to make the screen show, otherwise it is just blackscreen

I've run into this problem as well with my MZ project. When I run it on my phone I have to tap outside of the game area for the black screen to go away and reveal the main menu. When I run it in bluestacks I get this error message that I have to click away before I can use the main menu.
errorbluestacks.png
I tried looking up these errors and I'm still a bit clueless about what to do or even where these files are in the project... Anyone know anything about this that could help? Any help would be very much appreciated, really!
 

josephdevelops

Creator of Familia
Veteran
Joined
Jan 21, 2020
Messages
31
Reaction score
17
First Language
English
Primarily Uses
RMMZ
Can anyone confirm that this works for rpg maker mz as well as MV?
 

DoubleX

Just a nameless weakling
Veteran
Joined
Jan 2, 2014
Messages
1,817
Reaction score
969
First Language
Chinese
Primarily Uses
N/A
Can anyone confirm that this works for rpg maker mz as well as MV?
I tried testing some of my MZ plugins in my Android phone via this export method mentioned in this post, and so far I haven't found any nontrivial issue yet :)
 

Klimber

Villager
Member
Joined
Apr 2, 2020
Messages
14
Reaction score
1
First Language
Ukrainian
Primarily Uses
RMMV
Good afternoon, I followed the instructions, but after installing SDK Tools and other extras. tools something went wrong.
After exiting and re-entering the program, the registration window (or something like that) was displayed to me, I accidentally closed it.
And now (screenshot below) the installed tools do not work for me.
Please tell me how can I call the SDK tools license confirmation window in android studio?
1615915531703.png
 

Nico Kaneo

Newb
Veteran
Joined
Mar 26, 2014
Messages
67
Reaction score
21
First Language
English
Primarily Uses
The originating tutorial along with direct support can be found at:
hbgames.org/forums/viewtopic.php?f=48&p=939401

Index

  • Prerequisites
  • Creating the Android app
  • Testing (Optional)
  • Create Debug APK
  • Customisation
  • Crosswalk vs WebView

What is the MV Android Client

The MV Android Client is a runtime client for the Android™ operating system intended to play games created with the RPG Maker MV game development tool-kit.


The tutorial uses the MV Android Client to compile an RPG Maker MV project for Android (deployed as an Android APK).

Prerequisites

MV Android Client


Obtain the MV Android Client source code from the URL:
github.com/AltimitSystems/mv-android-client/zipball/master
Or by cloning the GitHub repository with git:
github.com/AltimitSystems/mv-android-client.git

This is a zip folder of the latest version of the MV Android Client.

Extract this zip folder to a memorable location (such as your computer Desktop folder).

Development Environment

The official IDE for Android application development is Android Studio by Google.

Android Studio can be downloaded for macOS, Microsoft Windows and Linux at the following URL:
developer.android.com/studio

The Android Studio install instructions for your platform can be found at the following URL: developer.android.com/studio/install.html

Android SDK Libraries

When opening Android Studio for the first time, you will be presented with a welcome window describing the version of Android Studio you have installed with some quick options for creating a project.

BZecW4l.png


If this is not the first time you are opening Android Studio and you are presented with a previous project, you can reach the welcome window by closing your current project from the File menu and then selecting Close Project.

At the lower right of the welcome window is the Configure menu. Open this menu and select SDK Manager to start the Android SDK Manager. This is where you can download the required Android SDK libraries for a project.

You may also open the Android SDK Manager from within an opened project via the Tools menu, selecting the Android sub menu and then choosing the SDK Manager.

Required SDK Platforms

The Android SDK Manager has three tabs; SDK Platforms, SDK Tools and SDK Update Sites.

To download the required SDK Platforms, make sure the SDK Platforms tab is selected. This is where you can download the development libraries for the many versions of Android.

It is usually best to select the most recent version of Android for installation. As of the writing of this tutorial, the most recent version of Android is "Android 8.0 (Oreo)".

Check the box to the left of the version of Android you wish to install the SDK for and click Apply to begin downloading the required SDK Platforms.

Mdw6LfT.png


Required SDK Tools

Once the SDK Platform is downloaded, select the SDK Tools tab to begin downloading the tools needed for developing Android apps.

From this list, check the boxes to the left of the following SDK Tools:

  • Android SDK Build-Tools
  • Android SDK Platform-Tools
  • Android SDK Tools
(Note: Support Repository is no longer needed)

LZB07Kt.png


If you wish to test your app on a real device you may need to also check the Google USB Driver if you are on Windows.

Click Apply to begin downloading the required SDK Tools.

Deployed RPG Maker MV Project

To prepare your RPG Maker MV project for Android you must export it from the File menu, selecting the Deployment... option.

y1Hmiy9.png


In the Deployment window that appears, make sure the Android / iOS Platform is selected. You may check the Exclude unused files option, however this may break some Plugins that depend on additional files.

VDpavLO.png


Remember to select an Output Location for the deployment, you can do this by clicking the Choose... button. You will need to find this output location later so make sure it's in an easy to find, memorable place (such as your computer Desktop folder).

Click OK to begin the deployment.

Creating the Android app

Open MV Android Client


From the Android Studio welcome screen, select Open an existing Android Studio project.

Find the folder where you extracted the MV Android Client source code downloaded at the beginning of the Prerequisites section.

KpbP5qD.png


Select this folder so it is highlighted and then click OK. It may take some time for Android Studio to build the project after opening it.

Wait for the project to settle in Android Studio. The project will automatically download additional libraries that it needs, so an internet connection is required for loading the project.

n2JfW02.png


Once everything is settled, expand the Project tab at the upper far left and expand the Build Variants tab at the lower far left.

Expanding the app folder in the Project tab should have the manifests, java code and xml values.

The Build Variants section can be used to switch between Crosswalk and WebView as the default web-engine.

9AdRf52.png


Crosswalk development ended in January 2017, so it is better to use WebView, however older devices may not be fully compatible with WebView features. See the end of this tutorial for a more in-depth explanation on Crosswalk vs WebView.

Import deployed RPG Maker MV project

Create Assets folder


If the Assets folder is not visible within the app folder of Android Studio then it must be created. The Assets folder is used to store the deployed RPG Maker MV project.

Right-click on the app folder to open the context menu. Open the New submenu, then open the Folder submenu lower down. From here, click the Assets Folder to begin creating the Assets folder.

di1sYDk.png


Simply click OK on the window that appears.

HMyyuOl.png


Copy RPG Maker MV project files

Find the deployed RPG Maker MV project that you created during the Prerequisites. Inside here should be a www folder.

CpmMRLo.png


Select the www folder so it is highlight and copy this folder by right-clicking on it and selecting the copy option.

Back in Android Studio, you want to now right-click on the Assets folder and paste the www folder by selecting the paste option.

Fkk0UqD.png


In the Copy window that appears, make sure Open copy in editor is un-checked to prevent the MV project files from opening in Android Studio and then click OK.

0hEhIzb.png


Depending on the size of your MV project, it may take a while to copy it into Android Studio.

Modify applicationId

The Android applicationId must be unique to your project.

Expand the Gradle Scripts and open the build.gradle (Module: app) file.

5cJiAKF.png


You should see something similar to the above image. Find the line inside defaultConfig that has applicationId.

zyQFmhk.png


Change the text inside the quotes to a new applicationId. Android applicationIds must contain no spaces and must be lower-case Latin characters with periods between each word.

Generally, they are domain names in reverse with the app name at the end. An example for a project call "Adventure" made at HBGames.org would be "org.hbgames.adventure".

If you do not have a website domain, you can use your first and last name. A project called "Owl Chronicles" by someone called "Harry Potter" would be "potter.harry.owlchronicles".

It must be unique to your project and your studio.

Testing (optional)

If you have an Android phone you may connect it to your computer to test your MV project directly.

A guide for setting up a phone for testing is available at this URL:
developer.android.com/studio/run/device.html

Alternatively, you may create an Android emulator instance. An emulator runs on your computer and does not require an Android phone.

A guide for setting up an emulator instance for testing is available at this URL:
developer.android.com/studio/run/emulator.html

Create Debug APK

From Android Studio, select Build and then click Build APK.

L9MWVt9.png


This will compile and build your app, which may take some time. When it is complete, at the lower right of Android Studio you will see a confirmation message with a handy link to your APK.

JWFayB2.png


Clicking the link will open up the folder for you, where you can copy and share the APK.

w93Z6HH.png


This is a debug APK, so it is not ready for publishing to the Google Play Store. This tutorial will not cover publishing a release APK and support will not be given for issues related to APKs built for release. For information on creating a release APK see the URL:
developer.android.com/studio/publish

Customisation

Most of the customisation can be done within the values.xml file.

uyyCnMH.png


App Name

To rename your app, open the values.xml file and find the app_name entry. By default, the app is called RPG Maker MV.

Unicode must be used for non-Latin characters (such as Chinese characters). Use a unicode converter to generate these for XML.

App Website

The website URL is configured in the values.xml file. Change the app_host to your website domain and app_scheme to HTTP or HTTPS. As an example, if my website is http://www.hbgames.org then my app_scheme will be "http" and my app_host will be "hbgames.org".

After that, my website will need to be associated with the app. See the section "Associate your app with your website" at the URL:
developer.android.com/studio/write/app-link-indexing.html

App Icon

Open up the res/mipmap folders to view the app icons.

r4JmBPw.png


There are multiple icons here to handle the different versions of Android and the different sized icons for different devices.

You may delete all these icons to remove the default icon, however you must replace the icons with two icons, one named "app_icon" and another named "app_icon_round".

These can be PNG images, or you can create them with Android Studio by right-clicking on the mipmap folder, opening the New submenu and selecting Image Asset.

A guide for the Image Asset Studio is at the URL:
developer.android.com/studio/write/image-asset-studio.html

Remember to have two icons named "app_icon" and "app_icon_round"! Ideally, app_icon_round would be a circular icon.

app_icon.png
app_icon_round.png


Crosswalk vs WebView

Crosswalk is an Intel project that aimed to create a portable WebView alternative for Android that worked across multiple versions of Android. crosswalk-project.org

You may know of Crosswalk from Intel XDK, Cordova and PhoneGap. It is also featured as part of the "official" Android deployment guide for RPG Maker MV.

Modern Android has separated the WebView component from the operating system, so now old versions of Android can receive critical security updates for WebView without needing a complete operating system update. This has made Crosswalk redundant as Crosswalk's main goal was to provide WebView updates for old versions of Android.

So why use Crosswalk? Unfortunately, WebView updates haven't enabled some features for older devices. Namely, WebAudio and WebGL might not be available for old Android phones. Crosswalk may have these implemented for old devices, so with Crosswalk there is a possibility that compatibility can be improved.

This is not a win-win situation, however. WebView can work on even older version of Android than Crosswalk (Going as far back as Android 3.0 Honeycomb API 11). WebView may even be faster than Crosswalk for newer devices.

The critical difference is that Crosswalk is no-longer in development, so it will not receive security updates. If a bug appears in Crosswalk that allows people to hack devices and break phones through your app or game then you're out of luck. With WebView, an update from Google will fix the issue rapidly.

WebView is also a core part of Android itself. Using Crosswalk can increase the size of the APK as all the Crosswalk libraries and files for all the potential versions of Android and phone devices need to be included as well.

The recommendation from security-conscious developers such as myself is that WebView should be used and Crosswalk avoided. Crosswalk should be used at your own risk.

If a serious security issue for Crosswalk does appear in the future, it will be removed from future versions of the MV Android Client.

Perhaps I missed a step, but how do you get this APK onto your Android device to play? Not to the Google Play Store, but to your device to play from the phone itself? I tried installing the APK and there are a lot of error messages that pop up. Can you flesh out how to get the apk running on your device, since that's the whole point of this tutorial? Thanks!
 

ToshaAngel

Villager
Member
Joined
Jun 23, 2019
Messages
11
Reaction score
3
First Language
Russian
Primarily Uses
RMMZ
Perhaps I missed a step, but how do you get this APK onto your Android device to play? Not to the Google Play Store, but to your device to play from the phone itself? I tried installing the APK and there are a lot of error messages that pop up. Can you flesh out how to get the apk running on your device, since that's the whole point of this tutorial? Thanks!
I can build your apk file in 5 minutes. If you want, then write in messages.
 

DarkAdria

Veteran
Veteran
Joined
Jul 29, 2020
Messages
31
Reaction score
4
First Language
Spanish
Primarily Uses
RMMV
Hello everybody!

I have a question, to see if you can help me.

A few hours ago I made the apk version of my game following the tutorial in the first post and the game has worked perfectly, except for one point.

Some music and sounds (those that are not original from RPG Maker MV) do not sound.
The rest of the music and sounds work perfectly.

Could anybody know why it is?
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
453
Reaction score
200
First Language
PT-BR
Primarily Uses
RM2k3
@DarkAdria
Isn't it because each song on the "RTP" (Starter pack) always has two formats for each song?
For example:
  • Battle1.m4a
  • Battle1.ogg
 

DarkAdria

Veteran
Veteran
Joined
Jul 29, 2020
Messages
31
Reaction score
4
First Language
Spanish
Primarily Uses
RMMV
@DarkAdria
Isn't it because each song on the "RTP" (Starter pack) always has two formats for each song?
For example:
  • Battle1.m4a
  • Battle1.ogg
I have all music and sounds in m4a and ogg :/

EDIT:
Well I don't know how I solved the problem exactly, but I put a version in .mp3 (in addition to .ogg and .m4a) and it didn't work either.

I made the .m4a versions again with Audacity (the first time I made them with a web page that multiplied the size of the music by fifteen) and this time the music was roughly the same size as the .ogg versions.

Everything together (.m4a, .ogg and .mp3) has worked. My game works perfectly on Android ^^
 
Last edited:

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
453
Reaction score
200
First Language
PT-BR
Primarily Uses
RM2k3
Probably the Codec of any of them was incorrect. This may vary from the version of Android's WebView, so when reconverting you probably applied the codec that would be the default.

Probably the Mp3 version will not be used by the game system, which will only consume unnecessary disk space on the end client.

Sorry if my English is bad.
 

Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
662
Reaction score
217
First Language
English
Primarily Uses
RMMV
@DarkAdria
One quick thing I wanted to note regarding audio, I'd highly recommend anyone looking into MV mobile deployment to check out RyanBram's Audio Streaming plugin. It removes the requirement to include m4a files (and in you case, should also let you remove mp3 as well), resulting in much smaller file sizes. I haven't tested on IOS, but can confirm that it still plays audio just fine on PC, browser, and Android.

 

TehGuy

Sometimes the 1s and 0s make sense
Veteran
Joined
Jun 27, 2013
Messages
30
Reaction score
14
First Language
English
Primarily Uses
RMMV
Perhaps I missed a step, but how do you get this APK onto your Android device to play? Not to the Google Play Store, but to your device to play from the phone itself? I tried installing the APK and there are a lot of error messages that pop up. Can you flesh out how to get the apk running on your device, since that's the whole point of this tutorial? Thanks!
assuming you have developer settings turned on for your device (google 'android activate dev mode' or something similar, I no longer have a device to mess with), Android Studio should just pick it up as a run option and do all the work for you when you hit play/build, but that depends on the errors you're getting.
 

Latest Threads

Latest Profile Posts

my main character isn't the warrior of light or the chosen one, he's a self righteous, invasive try hard who gets ahead of himself and makes a critical error, resulting in a downward moral spiral that, eventually, leads him to truths that make him a better man, and im DAMN proud of that.
Generate Actors, Dark Fantasy Monsters, & I Heard There Was a Chosen One, | RPG Maker News #42

Work on Cat Quest: The Last Catmancer continues slowly but surely. :kaopride: Today I received the Game Over screen from @Finnuval!
GameOver.png
Hey everyone! No Studio Blue RPG Maker Critiques Stream today! But you can always check the playlist for old streams you've missed!

Forum statistics

Threads
111,445
Messages
1,061,150
Members
144,806
Latest member
HowlingMeteor277
Top