Open Redman1037 opened 7 years ago
While creating credentials for OAuth 2.0 client IDs use this $ keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore -list -v to get the SHA-1 fingerprint. I also had the same issue, but this worked for me.
didnt work for me...
solved this?
Yes
The "Connection to Play Services failed" can sometime be related to permission not being granted to "android.permission.GET_ACCOUNTS" in versions of Android greater than Marshmallow. That is how I solved the problem with Android 7.Then after granting permission I had to set a precondition for launching on versions pre Marshmallow:
if (Build.VERSION.SDK_INT >= 23) {
// Verify that all required contact permissions have been granted.
}
@Redman1037 Please check this updated fork https://github.com/alfredmack/YouTube-Video-Uploader
When I run this project it constantly shows toast "Connection to Play Services failed" . also i cannot select any google account . Using Samsung sduos 2 , Android 7.1.2