Exporting to Android (MV Android Client)

Discussion in 'RPG Maker MV Tutorials' started by xilefian, Sep 29, 2017.

  1. XxSYOxTOSxX

    XxSYOxTOSxX Villager Member

    Messages:
    8
    Likes Received:
    4
    First Language:
    English
    Primarily Uses:
    RMMV



    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.
     
    Last edited: Jul 20, 2019
    Eliaquim likes this.
  2. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    677
    Likes Received:
    239
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    Good luck!
    I can't help anymore :/
    I don't see a reason for not to work :(
     
  3. hptoonkraft

    hptoonkraft Warper Member

    Messages:
    3
    Likes Received:
    1
    First Language:
    English
    Primarily Uses:
    RMMV
    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?
     
  4. Wavelength

    Wavelength Pre-Merge Boot Moderator

    Messages:
    4,263
    Likes Received:
    3,572
    Location:
    Florida, USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    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).
     
  5. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    677
    Likes Received:
    239
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    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.
     
    hptoonkraft likes this.
  6. Lakaroth

    Lakaroth Veteran Veteran

    Messages:
    272
    Likes Received:
    127
    First Language:
    English
    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?
    [​IMG]
    I have to update all my old app's before 1 december?
     
    Last edited: Jul 31, 2019
  7. hptoonkraft

    hptoonkraft Warper Member

    Messages:
    3
    Likes Received:
    1
    First Language:
    English
    Primarily Uses:
    RMMV
    I turned on Wordwrap on the Yanfly Message Core plug-in and it TOTALLY fixed my problem!! Thanks so much! :smile:
     
    Eliaquim likes this.
  8. LSGHagoromo

    LSGHagoromo Six-Paths Sage Member

    Messages:
    2
    Likes Received:
    0
    Location:
    Capim, Paraiba, Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    The game only shows a black screen with music, the game is still working, but everything is black!
     
  9. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    677
    Likes Received:
    239
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    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?
     
  10. LSGHagoromo

    LSGHagoromo Six-Paths Sage Member

    Messages:
    2
    Likes Received:
    0
    Location:
    Capim, Paraiba, Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    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
     
  11. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    677
    Likes Received:
    239
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    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.
     
  12. microwave500

    microwave500 Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    English
    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.
     
  13. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    677
    Likes Received:
    239
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    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 "}"
    [​IMG]

    In the project, inside Android Studio, those lines are different.
    [​IMG] [​IMG]
     
  14. VojinAnimations

    VojinAnimations Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    Serbian
    Primarily Uses:
    Other
    I have a problem whem I press right click on app I dont have assets folder
     
  15. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    677
    Likes Received:
    239
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    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".
     
  16. jamzkie143

    jamzkie143 CuteGranny Member

    Messages:
    21
    Likes Received:
    12
    First Language:
    English
    Primarily Uses:
    N/A
    hi, how can we export our games in portrait mode only (not landscape view)?
     
  17. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    677
    Likes Received:
    239
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    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.
     
  18. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    677
    Likes Received:
    239
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    Anyone know how can I solve this problem?

    [​IMG]

     
  19. xilefian

    xilefian Veteran Veteran

    Messages:
    119
    Likes Received:
    176
    First Language:
    English
    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
     
    jamzkie143 and Eliaquim like this.
  20. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    677
    Likes Received:
    239
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    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 ^^
     

Share This Page