【问题标题】:FATAL EXCEPTION: [com.google.android.gms.chimera.GmsIntentOperationService$ChimeraService-Executor] idle致命异常:[com.google.android.gms.chimera.GmsIntentOperationService$ChimeraService-Executor] 空闲
【发布时间】:2021-08-07 19:53:32
【问题描述】:

我正在开发一个颤振电子商务应用程序,突然我没有对代码做任何事情就得到这些错误


E/AndroidRuntime(30409): FATAL EXCEPTION: [com.google.android.gms.chimera.GmsIntentOperationService$ChimeraService-Executor] idle
E/AndroidRuntime(30409): Process: com.google.android.gms, PID: 30409
E/AndroidRuntime(30409): java.lang.SecurityException: isIccLockEnabled: Neither user 10531 nor current process has android.permission.READ_PRIVILEGED_PHONE_STATE.
E/AndroidRuntime(30409):    at android.os.Parcel.createExceptionOrNull(Parcel.java:2385)
E/AndroidRuntime(30409):    at android.os.Parcel.createException(Parcel.java:2369)
E/AndroidRuntime(30409):    at android.os.Parcel.readException(Parcel.java:2352)
E/AndroidRuntime(30409):    at android.os.Parcel.readException(Parcel.java:2294)
E/AndroidRuntime(30409):    at com.android.internal.telephony.ITelephony$Stub$Proxy.isIccLockEnabled(ITelephony.java:14946)
E/AndroidRuntime(30409):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(30409):    at com.excelliance.kxqp.platform.c.b.a.a.invoke(Native Method)
E/AndroidRuntime(30409):    at com.excelliance.kxqp.platform.c.b.a.bg.invoke(Native Method)
E/AndroidRuntime(30409):    at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
E/AndroidRuntime(30409):    at $Proxy25.isIccLockEnabled(Unknown Source)
E/AndroidRuntime(30409):    at android.telephony.TelephonyManager.isIccLockEnabled(TelephonyManager.java:14646)
E/AndroidRuntime(30409):    at rta.a(:com.google.android.gms@212621046@21.26.21 (150400-387928701):52)
E/AndroidRuntime(30409):    at rtb.b(:com.google.android.gms@212621046@21.26.21 (150400-387928701):3)
E/AndroidRuntime(30409):    at cobx.b(:com.google.android.gms@212621046@21.26.21 (150400-387928701):1)
E/AndroidRuntime(30409):    at ruy.<init>(:com.google.android.gms@212621046@21.26.21 (150400-387928701):8)
E/AndroidRuntime(30409):    at rva.b(:com.google.android.gms@212621046@21.26.21 (150400-387928701):3)
E/AndroidRuntime(30409):    at cobx.b(:com.google.android.gms@212621046@21.26.21 (150400-387928701):1)
E/AndroidRuntime(30409):    at ruz.a(:com.google.android.gms@212621046@21.26.21 (150400-387928701):0)
E/AndroidRuntime(30409):    at rnr.a(:com.google.android.gms@212621046@21.26.21 (150400-387928701):7)
E/AndroidRuntime(30409):    at com.google.android.gms.checkin.CheckinIntentOperation.onHandleIntent(:com.google.android.gms@212621046@21.26.21 (150400-387928701):54)
E/AndroidRuntime(30409):    at com.google.android.chimera.IntentOperation.onHandleIntent(:com.google.android.gms@212621046@21.26.21 (150400-387928701):2)

【问题讨论】:

    标签: android flutter dart flutter-layout dart-null-safety


    【解决方案1】:

    尝试将其添加到您的 manifest.xml 中

    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    

    【讨论】:

    • 没有这个文件,但是有AndroidManifes.xml。
    • 是的,那个文件。
    • 我看到 android 文件夹中有三个同名的文件,一个在 app/src/debug 文件夹中,一个在 app/src/main 文件夹中,另一个在 app/ src/配置文件文件夹。我应该在哪里添加??
    • 先尝试main,然后debug。
    • 出于好奇,为什么会这样?你怎么知道这是正确的权限?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-03
    • 1970-01-01
    • 2013-03-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多