• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Android game doesn't run on Xiaomi Redmi 4x

P

Pere

Guest
I've been setting up the android module, got the sdk, jdk, ndk and keystore, everything's fine. I've tested my game on three different samsung mobiles, and it works on those, but in my Xiaomi Redmi 4x, when I hit play the app doesn't even open, and I think it doesn't even get installed. There are no fatal errors in the compile form, and the cmd console shows this message:


01-05 03:01:55.446 29467 29467 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
01-05 03:01:55.461 29467 29467 D AndroidRuntime: CheckJNI is OFF
01-05 03:01:58.239 29499 29499 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
01-05 03:01:58.245 29499 29499 D AndroidRuntime: CheckJNI is OFF
01-05 03:01:58.445 29499 29499 D AndroidRuntime: Calling main entry com.android.commands.am.Am
01-05 03:01:58.497 29499 29499 D AndroidRuntime: Shutting down VM


I think the problem might be that the mobile doesn't allow installing an application from USB, but I can't seem to turn that on. If anyone is familiar with this problem please help! :) Otherwise I'll keep trying very hard myself till my head explodes (jk I'm fine)
 

rIKmAN

Member
I've been setting up the android module, got the sdk, jdk, ndk and keystore, everything's fine. I've tested my game on three different samsung mobiles, and it works on those, but in my Xiaomi Redmi 4x, when I hit play the app doesn't even open, and I think it doesn't even get installed. There are no fatal errors in the compile form, and the cmd console shows this message:


01-05 03:01:55.446 29467 29467 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
01-05 03:01:55.461 29467 29467 D AndroidRuntime: CheckJNI is OFF
01-05 03:01:58.239 29499 29499 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
01-05 03:01:58.245 29499 29499 D AndroidRuntime: CheckJNI is OFF
01-05 03:01:58.445 29499 29499 D AndroidRuntime: Calling main entry com.android.commands.am.Am
01-05 03:01:58.497 29499 29499 D AndroidRuntime: Shutting down VM


I think the problem might be that the mobile doesn't allow installing an application from USB, but I can't seem to turn that on. If anyone is familiar with this problem please help! :) Otherwise I'll keep trying very hard myself till my head explodes (jk I'm fine)
Have you enabled Developer Mode and USB Debugging?

http://www.syncios.com/android/how-to-debug-xiaomi-redmi-phone.html
 

rIKmAN

Member
Yeah yeah I have! forgot to mention that in the post.

-Thanks for the link though
Have you enabled the "Install vua USB" option under developer options?
You said in your OP that you can't seem to turn it on but a quick Google seems to say that you might have to be signed in to your MI account or disable some extra options to allow the option to be toggled on.

Check the various instructions given throughout this thread.
Some extra info on the issue here.
 
P

Pere

Guest
Have you enabled the "Install vua USB" option under developer options?
You said in your OP that you can't seem to turn it on but a quick Google seems to say that you might have to be signed in to your MI account or disable some extra options to allow the option to be toggled on.

Check the various instructions given throughout this thread.
Some extra info on the issue here.
Dudee I love you! xD Thanks a lot really! I followed the steps and then it finally let me enable the "Install via USB". After that it just worked. Glad there's altruistic people like you online hahah
 

rIKmAN

Member
Dudee I love you! xD Thanks a lot really! I followed the steps and then it finally let me enable the "Install via USB". After that it just worked. Glad there's altruistic people like you online hahah
No worries man, glad we got it working! :)
 
Top