The following post may be helpful to resolve the 10002 RESULT_SIGN_IN_FAILED
error.
If you have changed or pre-installed your development machine and have installed a fresh Android Studio version, you’ll have a new debug.keystore
created by the Android Studio installation.
The apps that are started directly from the IDE during development will no longer be signed with keys registered with Google Play Services. This is no issue if the app doesn’t use Google Play Services like Sign-in, Leaderboards or Achievements, but if it does, these functionalities will no longer work and you may get the 10002 RESULT_SIGN_IN_FAILED
error.