Solve that problem by checking your latency on Will I Lag? before starting your game.
Will I Lag? is completely free and works on both mobile network and Wi-Fi.
Note: Some Internet Service Providers as well as some Android Devices block Internet Control Message Protocol therefore a failure will occur.