1. Dismiss Notice
  2. Within our Resources section we have over 150 Audio files, with room to grow. You may find exactly what you have been looking for. Just CLICK HERE to start your listening adventure.
    Dismiss Notice
  3. Why would you want to upload your resources directly to RMMV.co? It makes it easier for other members to download them. Click HERE for more information.
    Dismiss Notice
  4. Click HERE to see our four new featured resources by TheUnproPro, Starbird, iblamevictoria, and VGM MarkH.
    Dismiss Notice
  5. Here are the The Resource Rules.
    Dismiss Notice
  6. Please read these RULES before posting.
    Dismiss Notice

Android RPG Maker MV Guide

Discussion in 'MV Tutorials' started by Xilefian, Apr 28, 2017.

  1. It looks like you used the CrossWalk build, which adds the entire CrossWalk library and bloats up the app size. The WebView build should be smaller.

    The reason why this CrossWalk is bigger than the one described in the RPG Maker method is because my method uses the latest build of CrossWalk and my runtime layer is thicker than the one Intel generates, which is what makes my system way more easier to modify and make custom for your game.
  2. I also found that the apk bundles the x86 and arm version of the apk together, splitting them yielded the size of file I saw with the RPG Maker method. That being said once I upload the arm apk after splitting to my phone some of the imagery seems oddly pixelated and some animations lag, although that might be unrelated.

    If I wanted to upload to google play would you recommend using WebView build? or is the crosswalk build more stable and fluid even after made apk and ran on a mobile device.
  3. Oh yeah I forgot about the x86 compatibility. Kind of ironic that Intel don't package x86 support for their own crosswalk tools.

    As a software developer, I recommend the WebView as it will be kept up to date and have the latest security features without you needing to update the app.

    Crosswalk is discontinued and not updated. If a security bug happens in Crosswalk then you'll need to change to WebView.

    If you're making a single player game with no online connectivity, then realistically CrossWalk will be fine. If you have online components, then I highly discourage use of CrossWalk; if a security bug is found that results in player's devices or accounts getting hacked then that's on you.
  4. So I packed one of each and the size difference is HUGE. the crosswalk is 112mb while the webview is 66. With a size difference like that you say there will be no detriment to quality?

    Edit: and I am unfamiliar with webview, does it require the player to be connected to the internet while they play? some of my friends are farmers and want to play while in the field and as such have no connection so that would be a significant issue.
  5. WebView is the Android system web browser, it doesn't require internet connection to use (just like any other web browser). CrossWalk is just an Intel-made alternative, it's the same thing functionally.

    Because WebView is built into Android it doesn't come with any fat libraries (it's already on your user's devices) so it should be small compared to Crosswalk.

    Size doesn't indicate quality. You need to compare crosswalk to WebView and come to your own conclusions about which is better.
  6. one final question I believe. I am attempting to sign my apk but i first need to delete the meta-inf file within the apk archive. The problem lies in that the archive is apparently read only and I cannot delete the file to put my signature on it. Any work around?
  7. Sorry, it was written in earlier posts; I'm not going to provide support for signing release APKs. This is because I'd rather people who used my code and technology went out and learned on their own without my help so they can gain the skills needed for most serious development.

    If you're serious about releasing a commercial game, then you won't need my help towards that endeavour. If you just want to build a debug APK to share around your book-club, then this tutorial covers that perfectly and I'll help with any issues.

    There are some legal and business reasons behind this policy. I am considering a paid version that comes with commercial deployment support and lots of extra goodies (like hacks for specific devices and maybe a large audio library to improve compatibility, each of these are large projects that would cost time and money).
  8. When I run my project, a black screen appears and then the project crashes.
    What should I do?
  9. Tell us what the error message says (if anything).
    Tell us what Plugins your project uses (if any).
    Tell us what device you have (Model number, country of purchase, Android OS version).
  10. The error message says: "Unfortunately, RPG Maker MV has stopped working"
    I use the Thomas Edison MV plugin (for lighting)
    I'm testing the project on an emulator, could that be the issue?
  11. That could be the issue, it could also be that this Plugin is depending on some behaviour that isn't available in the emulator's web browser and causes a crash.

    To test if the emulator is the problem: Try on a real device.

    To test if the Plugin is the problem: Deploy your project to the web and try it via your mobile phone's browser.

    The "Unfortunately" error suggests it's more likely an issue with the emulator. What emulator settings are you using?
    Have you tried switching between CrossWalk build and WebView build?
  12. I'm using MEmu for testing, since I can't use the emulator on Android Studio.
    I should try using a project with no plugins to see if the plugin causes the crash.
  13. Why can't you use the emulator on Android Studio?

    Yes, checking without Plugins would help a lot, good idea!
  14. #134 ZeraphservanT, Sep 16, 2017
    Last edited: Sep 16, 2017
    About the issue in the emulator on Android Studio, it says that it is incompatible with my laptop (by the way, I'm using a HP Pavilion dv6, I'm using an old laptop (wide))

    EDIT: I tried checking without plugins and it crashed again, with the exact same message.
  15. Did you try the CrossWalk vs the WebView builds? My suspicion is that your emulator is missing the Chrome WebView implementation, so maybe CrossWalk will work.

    Otherwise, I'm out of ideas. There isn't much in the code that can actually crash - so the crash is happening somewhere inside the actual Android SDK usage, my suspicion is WebView. Maybe WebAudio or WebGL is failing, but your emulator reports those as available.
  16. #136 ZeraphservanT, Sep 16, 2017
    Last edited: Sep 18, 2017
    I'm using Crosswalk, I forgot to mention that, sorry.
    I'm sure a friend would like to try installing the APK, I'll tell you if it works.

    EDIT: I used Bluestacks and the project worked, thank you!
  17. Do you know how to solve this error? I can't find the app module and I'm having problems with grandle

    Attached Files:

  18. Make sure you're connected to the internet and click "Re-download dependencies and sync project (requires network)".

    Also try doing File -> Invalidate Caches/Restart

    If it's still not fixed, try restarting your PC.
  19. Thanks for the quick reply. I did what you suggested but I'm getting the same error plus this IDE error.

    Attached Files:

  20. I love your guide, it's plain and simple, and also easy to follow! Yet, forgive me I have run into some issues! 5 errors :

    Error:(133, 65) error: package PlayerHelper does not exist
    Error:(43, 19) error: cannot find symbol variable PlayerHelper
    Error:(162, 9) error: method does not override or implement a method from a supertype
    Error:(174, 9) error: method does not override or implement a method from a supertype
    Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.

    My lucky guess is that it's not detecting PlayerHelper as a variable/object.
    the file it points to is WebPlayerActivity.java also my bootstrapper line within said java file is being detected with the same error as a result.
    Any Feedback is appreciated thank you very much.

Share This Page