First you must give all permissions to the game itself. It's because, the game should use your internet connection.

Then enter your Game Center or Google Play account. 

Though be sure that you have one (Game Center or Google Play Account). Then you will be able to log in directly.

Even though you've done all this, you still cannot sign in to the game; then clear the data and try again. If the issue still remains you can contact with us.