Exporting to Android (MV Android Client)




Yup they are both the same name. One is an m4a one is an ogg. The first two images are them in their folders for the rmmv project and the third photo is how it looks inside the android folder it was deployed to. It is now a m4a there as well and I can play that file just fine on my pc. All the spellings and punctions are the same filesizes are the same. I can confirm that the skill works on the pc and I have tried it a few times on my mobile and here is no sound to those specific animations when I use it. When I deployed it I made it in the sdk manager I enabled the newest android with is 9.+ on the list I have. I also enabled it for android 7.0, 8.0, 8.1 and 9.0. The only reason I did that was because my phone is a Galaxy note 5 so its on the older side and wont update past 7.0. That way I could try it out. Maybe it has something to do with a) having so many different versions checked off to deploy to or b) my phone is crap or c) its the filenames themselves. I noticed all the filenames for the original stuff has no dashes or hypens but both of mine do so I will try to get rid of those first and see if maybe android just has an issue with that.



Yup they are both the same name. One is an m4a one is an ogg. The first two images are them in their folders for the rmmv project and the third photo is how it looks inside the android folder it was deployed to. It is now a m4a there as well and I can play that file just fine on my pc. All the spellings and punctions are the same filesizes are the same. I can confirm that the skill works on the pc and I have tried it a few times on my mobile and here is no sound to those specific animations when I use it. When I deployed it I made it in the sdk manager I enabled the newest android with is 9.+ on the list I have. I also enabled it for android 7.0, 8.0, 8.1 and 9.0. The only reason I did that was because my phone is a Galaxy note 5 so its on the older side and wont update past 7.0. That way I could try it out. Maybe it has something to do with a) having so many different versions checked off to deploy to or b) my phone is crap or c) its the filenames themselves. I noticed all the filenames for the original stuff has no dashes or hypens but both of mine do so I will try to get rid of those first and see if maybe android just has an issue with that.


Good luck!
I can't help anymore :/
I don't see a reason for not to work 🙁
Hi, I managed to follow your instructions and get the APK to work on my phone. Sorry if this is a noob question, but unfortunately I noticed that when the characters speak, their lines no longer fit in the text box like they did when I exported the windows version. I'm not sure what caused this but maybe someone here knows how to correct this or will I need to edit every line from the game?
Hi, I managed to follow your instructions and get the APK to work on my phone. Sorry if this is a noob question, but unfortunately I noticed that when the characters speak, their lines no longer fit in the text box like they did when I exported the windows version. I'm not sure what caused this but maybe someone here knows how to correct this or will I need to edit every line from the game?
Did you try Playtesting the game in Windows? On all platforms, the actual length of the text box is shorter than the entry allowed in the editor, but a Playtest should give you an accurate representation of what it will look like to the player.

If you did try Playtesting and the text was fine there, but not on the Android export, maybe you will get your answer in this thread, but you also might want to try posting a new thread in the "Deployment" section of our forum since I am assuming that nothing posted in this thread was directly responsible for the weird behavior you are seeing (it could be a device issue, for example).
Hi, I managed to follow your instructions and get the APK to work on my phone. Sorry if this is a noob question, but unfortunately I noticed that when the characters speak, their lines no longer fit in the text box like they did when I exported the windows version. I'm not sure what caused this but maybe someone here knows how to correct this or will I need to edit every line from the game?

Hi there!
Perhaps that is your problem?
https://forums.rpgmakerweb.com/inde...ed-letters-in-message-box.108668/#post-966582

If yes, it will happen in some Android devices. It seems that somehow the width of the game is reduced a little.
To solve this I change the size of the letter of 28 to 24, and it fits ok in the message box.
Also, using Yanfly Message core has removed this issue too.
I have upload an app in google play store, and got a message:

From 1 december 2019 we need to update The Google Play Developer API at version 3, how to do that?
62209310-8ab50c80-b399-11e9-8b0e-8f70f7122a5d.png

I have to update all my old app's before 1 december?
Hi there!
Perhaps that is your problem?
https://forums.rpgmakerweb.com/inde...ed-letters-in-message-box.108668/#post-966582

If yes, it will happen in some Android devices. It seems that somehow the width of the game is reduced a little.
To solve this I change the size of the letter of 28 to 24, and it fits ok in the message box.
Also, using Yanfly Message core has removed this issue too.

I turned on Wordwrap on the Yanfly Message Core plug-in and it TOTALLY fixed my problem!! Thanks so much! 🙂
The game only shows a black screen with music, the game is still working, but everything is black!
The game only shows a black screen with music, the game is still working, but everything is black!
It's difficult to help onlu with this info.
Do you are using plugins?
What the version of your mv?
Do you try with a clean project, and give the same results?
Did you test in other phones to see if it works?
It's difficult to help onlu with this info.
Do you are using plugins?
What the version of your mv?
Do you try with a clean project, and give the same results?
Did you test in other phones to see if it works?

I'm using RPGM-MV 1.6.1
Plugins: KhasCore, KhasGraphics, KhasAdvancedLighting, WAY Core, Way StorageSystem
Tested only on Samsung Galaxy J1 (2016)

1.PNG
2.PNG
I'm using RPGM-MV 1.6.1
Plugins: KhasCore, KhasGraphics, KhasAdvancedLighting, WAY Core, Way StorageSystem
Tested only on Samsung Galaxy J1 (2016)
Ok!
Did you test making the apk without plugins, with a clean project, to see if it will work?
Try to test on another phone too.
Hello everyone!

I have been testing my game on various phones and have been successful for a while. However my brothers Samsung Galaxy s10 drops down to just a couple FPS during combat. This is only an issue when being deployed as Webview instead of CrossWalk. Does anyone know what that could be the case?

Thanks for any help you can provide.
Yes, achievements will need to be done differently. I did this change because almost everyone using the MV Android Client did not use extensions and the system was convoluted and not utilised by any Plugin developers.

I am thinking about having Google Play achievements added into the main MV Android Client, along with other Android specific JavaScript tools.

If you absolutely need Google Play Achievements then:
  1. Download this commit: 93ca673
  2. Change this line in this file: app/src/main/java/systems/altimit/rpgmakermv/WebPlayerActivity.java#L204
  3. Change this line in this file: app/src/webview/java/systems/altimit/rpgmakermv/WebPlayerView.java#L188
That will give you the old extensions system but make the changes to fix the Chrome 72 black screen (hopefully).

Tested and Confirmed, both the new build and this method, even my update on google worked for three of my testers devices!
Thanks soooo much Xilefian, You are Epic! 🙂

Hi @xilefian and @_Z_ ! I' trying to implement the achievements. I manage to make step 1. But in Step 2 and 3, whats exactly I have to do? Do I have to delete those lines? Or change/replace then into another thing?
When I click them, it show me these lines:
2 - L204 " mPlayer.loadData(context.getString(R.string.webview_default_page));"
3 -L188 "}"
Spoiler: IMAGE
j1DiTue.png

In the project, inside Android Studio, those lines are different.
Spoiler: IMAGES
FCkoFyA.png
3C7eOLJ.png
I have a problem whem I press right click on app I dont have assets folder
I have a problem whem I press right click on app I dont have assets folder
Hi!
You can create the assests folder via the explorer.
Go to the app folder in the explorer, and create a new folder there.
Then rename it to "assets".
hi, how can we export our games in portrait mode only (not landscape view)?
hi, how can we export our games in portrait mode only (not landscape view)?
I think you can adjust that only changing the resolution of your game, like 720x1280 instead of 1280x720.
Also there is some plugins that do that too, but I can't manage to find them right now.

I think there is an option in the altimit client for you to change landscape to portrait too.
When you open the android studio with your project, try to search for them in the files.
Anyone know how can I solve this problem?

yIi8vHa.png


Upload failed Your app's desired API level is currently 14. However, this level must be at least 26 for your app to use the latest APIs, which feature security and performance optimizations. Change your app's desired API level to at least 26. Learn how to do this.
hi, how can we export our games in portrait mode only (not landscape view)?
Change this line https://github.com/AltimitSystems/mv-android-client/blob/master/app/src/main/AndroidManifest.xml#L31 from "sensorLandscape" to "portrait"

Anyone know how can I solve this problem?
This problem shouldn't happen as the targetSdk will match the compileSdk which should be already be 28. I've changed how the SDK version is selected and updated the project on GitHub, perhaps try updating MV Android Client and see if that fixes it?

If it doesn't, then try changing the minSdkVersion to 26 https://github.com/AltimitSystems/mv-android-client/blob/master/app/build.gradle#L59
Change this line https://github.com/AltimitSystems/mv-android-client/blob/master/app/src/main/AndroidManifest.xml#L31 from "sensorLandscape" to "portrait"


This problem shouldn't happen as the targetSdk will match the compileSdk which should be already be 28. I've changed how the SDK version is selected and updated the project on GitHub, perhaps try updating MV Android Client and see if that fixes it?

If it doesn't, then try changing the minSdkVersion to 26 https://github.com/AltimitSystems/mv-android-client/blob/master/app/build.gradle#L59
Hi Thanks for the answer.
I'v tried that but when I made the export, the apk doenst work on my phone.

In the client that I download that have support for google play achievements, I have to add a line for Target Sdk because it's not there. Then everything worked fine ^^

Original thread: https://forums.rpgmakerweb.com/threads/exporting-to-android-mv-android-client.84971/