Ich habe einige Fehler beim Auschecken in Paypal-Sandbox, Fehler tritt nur in Geräten mit Version Marshmallow, andere Version unterhalb als das war in Ordnung.PayPal SecurityException: Erfordert READ_PHONE_STATE
Fehlermeldung
Fatal Exception: java.lang.SecurityException: getDeviceId: Neither user 10179 nor current process has android.permission.READ_PHONE_STATE.
at android.os.Parcel.readException(Parcel.java:1620)
at android.os.Parcel.readException(Parcel.java:1573)
at com.android.internal.telephony.ITelephony$Stub$Proxy.getDeviceId(ITelephony.java:4207)
at com.paypal.android.c.k.a(Unknown Source)
at com.paypal.android.c.f.B(Unknown Source)
at com.paypal.android.c.f.d(Unknown Source)
at com.paypal.android.c.f$3.run(Unknown Source)
Background sticky concurrent mark sweep GC freed 25935(1829KB) AllocSpace objects, 47(6MB) LOS objects, 8% free, 87MB/95MB, paused 7.704ms total 70.036ms
NeighborEvent{elapsedMs=2177754483, 192.168.0.1, [AC220B8E9BEB], RTM_NEWNEIGH, NUD_REACHABLE}
START u0 {cmp=com.luulla.mobile.android/com.paypal.android.MEP.PayPalActivity (has extras)} from uid 10179 on display 0
Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
Darf ich weiß jemand diese Probleme schlagen? Wird es durch Paypal-SDK verursacht? Vielen Dank für den gegebenen Vorschlag und die Antwort :)
haben Sie versucht, die Berechtigung programmgesteuert zu prüfen? – Prashant
ist die Ausnahme bei Marshmellow-Gerät? – apk
@apk Ja, bitte lesen Sie die Frage – Prashant