Layers not working after build,Layers not working after build.

I’m developing an android game, character is allowed to jump if he is grounded and not in air already. And there is a jump animation. If I play in Unity, game works well but if I build apk and play in Nox emulator or my android device, character jumps but jump animation does not play. Issue is with layers(I choose ground as ground layer so if player is grounded, jump animation stops.) He thinks he is grounded and stops animation immediately but I can jump again in while in air and animation works well. How can I solve it?

Nice forum, thanks for your helps nobody. I will switch to UE4