sy_flutter_alipay
sy_flutter_alipay copied to clipboard
你好,如何处理android或ios上未安装支付宝app的情况?
如题, 目前在android上,如果未安装支付宝app,会闪退。
异常信息:
E/libc (31011): Access denied finding property "vendor.gralloc.disable_ahardware_buffer"
W/RenderThread(31011): type=1400 audit(0.0:1858): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=14862 scontext=u:r:untrusted_app:s0:c168,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
W/System.err(31011): java.lang.SecurityException: getDeviceId
W/System.err(31011): at android.os.Parcel.createException(Parcel.java:1950)
W/System.err(31011): at android.os.Parcel.readException(Parcel.java:1918)
W/System.err(31011): at android.os.Parcel.readException(Parcel.java:1868)
W/System.err(31011): at com.android.internal.telephony.ITelephony$Stub$Proxy.getDeviceId(ITelephony.java:5407)
W/System.err(31011): at android.telephony.TelephonyManager.getDeviceId(TelephonyManager.java:1240)
W/System.err(31011): at com.alipay.sdk.util.a.
解决了吗