Exporting game to Android still has Black Borders/ Scaling Issue?

Engine : RPG Maker MV 1.6.3
Issue : Black Border on right / left side of the screen after exporting it to Android
I am using this method to export the game to Android LINK
I tried using the other method of CORDOVA LINK but I kept getting a FAILED Build - Not sure if I need to ask the question about it there... 😅

How the game looks in Android Studio on a Demo Phone


I am currently using only the basic scripts :
Community_Basic - set the width = 1280 and height = 720
Custom_Logo

Scripts.png


When I play the game on PC, it looks like how I want it to by default (Fullscreen + Stretch)
I have added the "Graphics._switchFullScreen();" to the main.js for the Fullscreen
I have been trying to understand what is wrong but I am not sure, cause I had used this method really long ago..
Back when MV was 1.0.1 or something, I had made a small game demo for a friend..

OldDemo.png



It had stretched the graphic and looked much better, unfortunately I don't have that game file anymore..
I want to get this type of screen resolution for the game I am planning to make..

I wanted to clarify if I am doing something wrong.. I also heard that some version of MV was not stable and had many plugins not supported. I tried doing the same thing with an older version of MV through Steam Beta 1.5.3 and it had the same result. I wanted to know if it had something to do with the Plugins / Screen Size of the game or if there was something wrong in the Android Client Project linked in the start of the post. Whatever being the issue, kindly help me out to configure the game to view in the last photo.
I have moved this thread from RPG Maker MV Tutorials to RPG Maker MV Support.
from the pictures, it seems that the aspect ratio is the problem.

check the true pixel size of your android display, and then make your game screen wider to get to the same aspect ratio as the device has.
I tried look into it a bit and found that the
Android Studio - Virtual Device is Medium Api 29 - 1080 * 2400
The mobile I use as the same size. The aspect ratio seems to be 20:9.

So I tried extending the map size to 50 (1080/48) x 23 (2400/48) but it still has the same result.
I tried looking into old posts from the Internet and found this Reddit Post: Link
I have added the Yanfly Core Engine V-1.32, changed the screen width and height to 2400 * 1080
Then tried exporting to Android it seemed to work how I wanted to it.
I think I might have changed MV Version previously which was causing some main JS files to mess up..
Thanks for the help Andar.
I think we can close this for now. :LZSsmile:


Working.png

Original thread: https://forums.rpgmakerweb.com/threads/exporting-game-to-android-still-has-black-borders-scaling-issue.164470/