-2

My game runs fine when i run it in unity3d ,but when it try to run it in my phone it does not even start and show this msg "MyAppName keeps stopping" how can i locate the problem , I am not experienced Thanks

"MyAppName keeps stopping"

MaD
  • 21
  • 8

1 Answers1

0

Did you try to run it as a Development Build? If you check the Development Build check box in build settings, you can see error messages (console messages) in your game.

ecco
  • 181
  • 14
  • I build it with Development Build and run it in my device but still the same msg , where can i see the console messages ? – MaD Aug 22 '19 at 12:09
  • It should pop up on your screen. I can't check it for Android, but for PC it's a little red box inside of your game environment showing the console output. Try out to trigger it with *Debug.Log()*. But since it's not showing up for you, I am afraid, that this solution may not be helpful to you. – ecco Aug 22 '19 at 12:45
  • it crashes as soon as i try to launch it – MaD Aug 22 '19 at 12:55
  • Try with logcat and will see the error, Its available from Android Studio and ADB – auslander Aug 22 '19 at 14:06