I tried changing the crosswalk version for my apk, but when I build it I get this error: https://puu.sh/CBYtE/82575da9de.png
Exporting to Android (MV Android Client)
RMMV Tutorialsif you want my advice dont use crosswalk because its laggy and unstable try cordova methode i sticked with it but its not diffrent then this methode if you are looking to increase perfomence use the plugins KODERA_optimization and YEP_FpsSynchOption
When I use the cordova method. I get this error: https://puu.sh/CFjYF/e34203069e.png
@Super Shy Gamer Girl
I have the same problem. Last week I did the apks normally and it was working. But not now. I tried two different projects. One of them with no plugin at all. And yet, did it not show me any errors. Only this gray screen appears.
I did with webviewDebug.
Any tips?
[[[EDIT]]]
I uninstalled rpg maker mv and android studio. Deletes all records and folders. Excludes also the Altimit system.
Then I installed them again and downloaded the altimit system again. I did the deployment and the apk, but it's still the same. A black / gray screen. When I hit the back button it still asks me the question if I want to close the MV. So in some way, i think its running.
Then I tried again, this time I enabled music on all the maps to see if I could even hear it. I also enabled the FPS bar. Still, the same problem... And the FPS bar don't show up.
The only different thing that happened between the period that I was able to make it work normally, is that my phone updated the WebViewSystem. But I have no idea what the problem is 🙁.
you probably didn't configure your environment well try to verify java and other dependencies path
@xilefian
I have update Android Studio, after that i got this:
It seems like compile has been deprecated and api or implementation should be used instead. According to The Java Library Plugin - Gradle User Guide Version 3.5:
The compile configuration still exists but should not be used as it will not offer the guarantees that the api and implementation configurations provide.
So i've change compile to implementation:
In Module app:
This
To this:
After doing i've update my app on playstore, everything was fine untill some users got a black screen,
only Samsung S9 or S9+ and Pixel 2 with Android 8.0.0
On google play console pre launch app, i find out the problem:
I've read in some case, on Implementation you'll have to provide content labels.
I think is in manifest file (i'm not a programmer)
How to fix this?
Thank you.
PS: here a screen with system info of 4 Samsung S9+ (2 working 2 not working) it's reallly strange.
I have update Android Studio, after that i got this:
Code:
WARNING: The specified Android SDK Build Tools version (27.0.3) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.3.0. Android SDK Build Tools 28.0.3 will be used. To suppress this warning, remove "buildToolsVersion '27.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools. Remove Build Tools version and sync project Affected Modules: app
The compile configuration still exists but should not be used as it will not offer the guarantees that the api and implementation configurations provide.
So i've change compile to implementation:
In Module app:
This
To this:
After doing i've update my app on playstore, everything was fine untill some users got a black screen,
only Samsung S9 or S9+ and Pixel 2 with Android 8.0.0
On google play console pre launch app, i find out the problem:
I've read in some case, on Implementation you'll have to provide content labels.
I think is in manifest file (i'm not a programmer)
How to fix this?
Thank you.
PS: here a screen with system info of 4 Samsung S9+ (2 working 2 not working) it's reallly strange.
@Lakaroth the MV Android Client already uses "implementation" and not "compile" since March 14th 2018, please update to the latest version before reporting bugs as this may have already been fixed over the past 9 months.
"WARNING" messages are not errors, everything will still work fine with WARNINGs, so what you have is a different problem.
Also, I've said this a few times (and hundreds of times in other communities) the Android version (8.0.0) is 99.9999% of the times never the source of the problem, so unfortunately if updating MV Android Client doesn't solve the problem then I will need a bit more information from you.
The best debug you can give is a "logcat" output for this black screen; have the phone connected to the computer running Android Studio, run your game in debug and click on the "logcat" tab at the bottom of Android studio - make sure the "Filter" is set to "Show only selected application". Copy this to somewhere like pastebin and post the link here so I can look at it for you.
"WARNING" messages are not errors, everything will still work fine with WARNINGs, so what you have is a different problem.
Also, I've said this a few times (and hundreds of times in other communities) the Android version (8.0.0) is 99.9999% of the times never the source of the problem, so unfortunately if updating MV Android Client doesn't solve the problem then I will need a bit more information from you.
The best debug you can give is a "logcat" output for this black screen; have the phone connected to the computer running Android Studio, run your game in debug and click on the "logcat" tab at the bottom of Android studio - make sure the "Filter" is set to "Show only selected application". Copy this to somewhere like pastebin and post the link here so I can look at it for you.
Blackscreen and blinking in android. How to fix ?
Since Webview has been updated, the game is not running and has stopped on a black screen.
Cross-validation was performed through the devices equipped with older versions of Webview,
I can assure you that this is a new problem caused by an update to Webview.
Cross-validation was performed through the devices equipped with older versions of Webview,
I can assure you that this is a new problem caused by an update to Webview.
Yes i test on more than 20 devices, with the last Chrome 72.0.3626.76 Rmmv Games stop to work 🙁
Hope in a fix, i'm sure Xilefian can do it!
Hope in a fix, i'm sure Xilefian can do it!
Yes! I thought it was other things. I uninstalled my Android Studio and rm mv, but at the end of the day I thought the problem might be on my phone. So I formatted, and did not update the webview. Then the games worked again.
Let's hope for a fix!
After consistently thinking I screwed my mv game/app up, checking for changes and not finding any issue but logcat giving a random Zygote error I felt it must be android related...
"2019-02-04 12:53:52.484 19842-19842/com.nimdesignanddevelopment.huntersandheroes E/Zygote: isWhitelistProcess - Process is Whitelisted"
I notice I'm not the only one. Here's hoping a fix comes through and Xilefian were rooting for yah!
"2019-02-04 12:53:52.484 19842-19842/com.nimdesignanddevelopment.huntersandheroes E/Zygote: isWhitelistProcess - Process is Whitelisted"
I notice I'm not the only one. Here's hoping a fix comes through and Xilefian were rooting for yah!
I fixed the black screen issue. Interestingly I was unable to replicate this issue because in my region Chrome 72 has not been deployed for Android yet, so it would have taken some time for me to hit this bug personally.
I installed all the preview Chrome builds for Android (including unstable Canary) so I could force the circumstance for this issue to happen.
Special thanks to @Lakaroth for identifying that Chrome 72 caused the issue, without their invaluable help it would have been another two or three weeks before I could fix this.
EDIT: Also, I removed the extensions system. To the 4 people who were using extensions you will need to discuss re-implementing what you need. I will likely merge the old Android API stuff into the main branch if it is so desired (post in this thread if you need the extension).
The GooglePlay API had a few issues, I imagine that may have been a critical extension for the 2 people who used that so again post in this thread if you have issues with that.
In other news, I found a way to get .OBB Android APK Expansion Files working (https://developer.android.com/google/play/expansion-files) which would allow 2GB projects to be uploaded to the Play Store. If anyone is interested in this they need to post here - because commercial support is not provided I will have to work something out with developers one-to-one in getting this implemented (and a tutorial written).
I installed all the preview Chrome builds for Android (including unstable Canary) so I could force the circumstance for this issue to happen.
Special thanks to @Lakaroth for identifying that Chrome 72 caused the issue, without their invaluable help it would have been another two or three weeks before I could fix this.
EDIT: Also, I removed the extensions system. To the 4 people who were using extensions you will need to discuss re-implementing what you need. I will likely merge the old Android API stuff into the main branch if it is so desired (post in this thread if you need the extension).
The GooglePlay API had a few issues, I imagine that may have been a critical extension for the 2 people who used that so again post in this thread if you have issues with that.
In other news, I found a way to get .OBB Android APK Expansion Files working (https://developer.android.com/google/play/expansion-files) which would allow 2GB projects to be uploaded to the Play Store. If anyone is interested in this they need to post here - because commercial support is not provided I will have to work something out with developers one-to-one in getting this implemented (and a tutorial written).
Thanks for the quick fix!!
Also, the opportunity to use OBB files is a great thing! Here in Brazil, I found a program to do that, but it will cost me 70 dollars for year. But the dollar is costing x4 in my country. And right now, I have no conditions.
So thank you so much!!
When you talk about the google play API and the things like "extension" it means that will not have achievements anymore?
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:
- Download this commit: 93ca673
- Change this line in this file: app/src/main/java/systems/altimit/rpgmakermv/WebPlayerActivity.java#L204
- Change this line in this file: app/src/webview/java/systems/altimit/rpgmakermv/WebPlayerView.java#L188
Ok! As soon I will try it I let you know. But probably I will take some time, since I am focused on finish the game first xD.
But thanks anyway! 😀
I'm case of black screen tomorrow I will try to see if everything looks fine 🙂
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! 🙂
Thanks to you, i just do all my best to identify the cause, i'm not a programmer so my wall it was like a serial killer pinboard in the last days LOL
About .OBB APK expansion file, i'm available for any kind of test or whatever you want, i have a playconsole account and i'm online 24/7 just tell me what to do!
I really need to learn how to do that!
Hello everybody! I made a game, using this plagin, signed and tested it, using my phone. It worked. However, when I published my game in the Google Play it didn't work. There was not any mistakes, only "The application is no longer compatible with your device".
What is the problem? Maybe I have to change some settings (for example, API level)
What is the problem? Maybe I have to change some settings (for example, API level)
Original thread: https://forums.rpgmakerweb.com/threads/exporting-to-android-mv-android-client.84971/