You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.
On an Android 6 device the app crashes with
11-28 12:53:26.067 3126-3126/dk.nordfalk.vuc_yttest E/AndroidRuntime: FATAL EXCEPTION: main
Process: dk.nordfalk.vuc_yttest, PID: 3126
java.lang.SecurityException: Missing android.permission.GET_ACCOUNTS
at android.os.Parcel.readException(Parcel.java:1599)
at android.os.Parcel.readException(Parcel.java:1552)
at com.google.android.gms.plus.internal.zzd$zza$zza.getAccountName(Unknown Source)
at com.google.android.gms.plus.internal.zze.getAccountName(Unknown Source)
at com.google.android.gms.internal.zzpn.getAccountName(Unknown Source)
at com.google.ytdl.UploadsListFragment.onConnected(UploadsListFragment.java:147)
This is because you need to request the permission at runtime.
Fix:
set your targetSdkVersion to 22 in your build.gradle, or
On an Android 6 device the app crashes with
11-28 12:53:26.067 3126-3126/dk.nordfalk.vuc_yttest E/AndroidRuntime: FATAL EXCEPTION: main
Process: dk.nordfalk.vuc_yttest, PID: 3126
java.lang.SecurityException: Missing android.permission.GET_ACCOUNTS
at android.os.Parcel.readException(Parcel.java:1599)
at android.os.Parcel.readException(Parcel.java:1552)
at com.google.android.gms.plus.internal.zzd$zza$zza.getAccountName(Unknown Source)
at com.google.android.gms.plus.internal.zze.getAccountName(Unknown Source)
at com.google.android.gms.internal.zzpn.getAccountName(Unknown Source)
at com.google.ytdl.UploadsListFragment.onConnected(UploadsListFragment.java:147)
This is because you need to request the permission at runtime.
Fix:
Read more here: http://stackoverflow.com/questions/33023674/android-6-getaccountname-missing-android-permission-get-accounts
The text was updated successfully, but these errors were encountered: