2022-11-23 16:22:26.428 688-688/? W/keymaster_tee: [WRN]begin req PARAMS: A32 B32 P1
2022-11-23 16:22:26.431 687-29628/? I/keystore2: keystore2::security_level: In create_operation. Success to create IKeystoreOperation. 10565, None
2022-11-23 16:22:26.433 688-688/? W/keymaster_tee: [WRN]Cmd 10, err -30
2022-11-23 16:22:26.433 687-29628/? E/keystore2: keystore2::error: In KeystoreOperation::finish
Caused by:
0: In finish: KeyMint::finish failed.
1: Error::Km(ErrorCode(-30))
2022-11-23 16:22:26.434 7907-7907/? W/b: encountered a potentially transient KeyStore error, will wait and retry
javax.crypto.AEADBadTagException
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:617)
at javax.crypto.Cipher.doFinal(Cipher.java:2114)
at f.d.c.a.v.a.b.c(Unknown Source:32)
at f.d.c.a.v.a.b.b(Unknown Source:0)
at f.d.c.a.i.c(Unknown Source:11)
at f.d.c.a.i.j(Unknown Source:9)
at f.d.c.a.v.a.a$b.e(Unknown Source:6)
at f.d.c.a.v.a.a$b.f(Unknown Source:0)
at f.d.c.a.v.a.a$b.d(Unknown Source:11)
at e.m.a.a.b(Unknown Source:47)
at e.m.a.a.a(Unknown Source:4)
at com.navercorp.nid.oauth.a.h(Unknown Source:14)
at com.navercorp.nid.oauth.a.b(Unknown Source:0)
at com.navercorp.nid.oauth.a$a.a(Unknown Source:2)
at com.navercorp.nid.oauth.a$a.invoke(Unknown Source:0)
at kotlin.t.getValue(Unknown Source:22)
at com.navercorp.nid.oauth.a.f(Unknown Source:2)
at com.navercorp.nid.oauth.a.d(Unknown Source:6)
at com.navercorp.nid.oauth.h.c(Unknown Source:5)
at f.g.a.a.i(Unknown Source:0)
at f.g.a.a.a(Unknown Source:15)
at f.j.a.b.d(Unknown Source:18)
at f.j.a.b.onMethodCall(Unknown Source:20)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(Unknown Source:17)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(Unknown Source:18)
at io.flutter.embedding.engine.dart.DartMessenger.a(Unknown Source:20)
at io.flutter.embedding.engine.dart.a.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8741)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: android.security.KeyStoreException: Signature/MAC verification failed (internal Keystore code: -30 message: In KeystoreOperation::finish
Caused by:
0: In finish: KeyMint::finish failed.
1: Error::Km(ErrorCode(-30))) (public error code: 10 internal Keystore code: -30)
at android.security.KeyStore2.getKeyStoreException(KeyStore2.java:418)
at android.security.KeyStoreOperation.handleExceptions(KeyStoreOperation.java:78)
at android.security.KeyStoreOperation.finish(KeyStoreOperation.java:128)
at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer$MainDataStream.finish(KeyStoreCryptoOperationChunkedStreamer.java:228)
at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:181)
at android.security.keystore2.AndroidKeyStoreAuthenticatedAESCipherSpi$BufferAllOutputUntilDoFinalStreamer.doFinal(AndroidKeyStoreAuthenticatedAESCipherSpi.java:396)
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:609)
... 34 more
2022-11-23 16:22:26.443 688-688/? W/keymaster_tee: [WRN]begin req PARAMS: A32 B32 P1
2022-11-23 16:22:26.446 687-29628/? I/keystore2: keystore2::security_level: In create_operation. Success to create IKeystoreOperation. 10565, None
2022-11-23 16:22:26.449 688-688/? W/keymaster_tee: [WRN]Cmd 10, err -30
2022-11-23 16:22:26.450 687-29628/? E/keystore2: keystore2::error: In KeystoreOperation::finish
Caused by:
0: In finish: KeyMint::finish failed.
1: Error::Km(ErrorCode(-30))
2022-11-23 16:22:26.450 7907-7907/? W/a: cannot decrypt keyset:
javax.crypto.AEADBadTagException
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:617)
at javax.crypto.Cipher.doFinal(Cipher.java:2114)
at f.d.c.a.v.a.b.c(Unknown Source:32)
at f.d.c.a.v.a.b.b(Unknown Source:18)
at f.d.c.a.i.c(Unknown Source:11)
at f.d.c.a.i.j(Unknown Source:9)
at f.d.c.a.v.a.a$b.e(Unknown Source:6)
at f.d.c.a.v.a.a$b.f(Unknown Source:0)
at f.d.c.a.v.a.a$b.d(Unknown Source:11)
at e.m.a.a.b(Unknown Source:47)
at e.m.a.a.a(Unknown Source:4)
at com.navercorp.nid.oauth.a.h(Unknown Source:14)
at com.navercorp.nid.oauth.a.b(Unknown Source:0)
at com.navercorp.nid.oauth.a$a.a(Unknown Source:2)
at com.navercorp.nid.oauth.a$a.invoke(Unknown Source:0)
at kotlin.t.getValue(Unknown Source:22)
at com.navercorp.nid.oauth.a.f(Unknown Source:2)
at com.navercorp.nid.oauth.a.d(Unknown Source:6)
at com.navercorp.nid.oauth.h.c(Unknown Source:5)
at f.g.a.a.i(Unknown Source:0)
at f.g.a.a.a(Unknown Source:15)
at f.j.a.b.d(Unknown Source:18)
at f.j.a.b.onMethodCall(Unknown Source:20)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(Unknown Source:17)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(Unknown Source:18)
at io.flutter.embedding.engine.dart.DartMessenger.a(Unknown Source:20)
at io.flutter.embedding.engine.dart.a.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8741)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: android.security.KeyStoreException: Signature/MAC verification failed (internal Keystore code: -30 message: In KeystoreOperation::finish
Caused by:
0: In finish: KeyMint::finish failed.
1: Error::Km(ErrorCode(-30))) (public error code: 10 internal Keystore code: -30)
at android.security.KeyStore2.getKeyStoreException(KeyStore2.java:418)
at android.security.KeyStoreOperation.handleExceptions(KeyStoreOperation.java:78)
at android.security.KeyStoreOperation.finish(KeyStoreOperation.java:128)
at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer$MainDataStream.finish(KeyStoreCryptoOperationChunkedStreamer.java:228)
at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:181)
at android.security.keystore2.AndroidKeyStoreAuthenticatedAESCipherSpi$BufferAllOutputUntilDoFinalStreamer.doFinal(AndroidKeyStoreAuthenticatedAESCipherSpi.java:396)
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:609)
... 34 more
2022-11-23 16:22:26.451 7907-7907/? E/DartMessenger: Uncaught exception in binary message listener
f.d.c.a.z.a.c0: Protocol message contained an invalid tag (zero).
at f.d.c.a.z.a.z.K(Unknown Source:74)
at f.d.c.a.z.a.z.G(Unknown Source:2)
at f.d.c.a.y.c0.X(Unknown Source:2)
at f.d.c.a.v.a.d.a(Unknown Source:8)
at f.d.c.a.b.a(Unknown Source:0)
at f.d.c.a.v.a.a$b.e(Unknown Source:29)
at f.d.c.a.v.a.a$b.f(Unknown Source:0)
at f.d.c.a.v.a.a$b.d(Unknown Source:11)
at e.m.a.a.b(Unknown Source:47)
at e.m.a.a.a(Unknown Source:4)
at com.navercorp.nid.oauth.a.h(Unknown Source:14)
at com.navercorp.nid.oauth.a.b(Unknown Source:0)
at com.navercorp.nid.oauth.a$a.a(Unknown Source:2)
at com.navercorp.nid.oauth.a$a.invoke(Unknown Source:0)
at kotlin.t.getValue(Unknown Source:22)
at com.navercorp.nid.oauth.a.f(Unknown Source:2)
at com.navercorp.nid.oauth.a.d(Unknown Source:6)
at com.navercorp.nid.oauth.h.c(Unknown Source:5)
at f.g.a.a.i(Unknown Source:0)
at f.g.a.a.a(Unknown Source:15)
at f.j.a.b.d(Unknown Source:18)
at f.j.a.b.onMethodCall(Unknown Source:20)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(Unknown Source:17)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(Unknown Source:18)
at io.flutter.embedding.engine.dart.DartMessenger.a(Unknown Source:20)
at io.flutter.embedding.engine.dart.a.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8741)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
2022-11-23 16:22:26.451 7907-7966/? I/flutter: naver login error MissingPluginException(No implementation found for method logIn on channel flutter_naver_login)
If I try to login with Naver, I see this log and get an error.
Appears only on one specific device (Galaxy S21)
Other Galaxy s21s do not generate errors, but only on one device.
If you press the button, it doesn't respond.
I think FlutterNaverLogin.login() doesn't work when I press the Login button.
I am using video_editor package in flutter. When I at debug mode it works and no error but when I release the apk, the apps clash and show the error :
D/flutter-ffmpeg(10753): Getting media information for /data/user/0/com.example.apps/cache/file_picker/Screenrecorder-2021-05-19-15-53-57-515.mp4.
E/AndroidRuntime(10753): FATAL EXCEPTION: AsyncTask #2
E/AndroidRuntime(10753): Process: com.example.apps, PID: 10753
E/AndroidRuntime(10753): java.lang.RuntimeException: An error occurred while executing doInBackground()
E/AndroidRuntime(10753): at android.os.AsyncTask$4.done(AsyncTask.java:399)
E/AndroidRuntime(10753): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
E/AndroidRuntime(10753): at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
E/AndroidRuntime(10753): at java.util.concurrent.FutureTask.run(FutureTask.java:271)
E/AndroidRuntime(10753): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime(10753): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime(10753): at java.lang.Thread.run(Thread.java:919)
E/AndroidRuntime(10753): Caused by: java.lang.UnsatisfiedLinkError: Bad JNI version returned from JNI_OnLoad in "/data/app/com.example.apps-QO20kuBv0uYvExYVArrO7A==/lib/arm64/libmobileffmpeg.so": 0
E/AndroidRuntime(10753): at java.lang.Runtime.loadLibrary0(Runtime.java:1071)
E/AndroidRuntime(10753): at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
E/AndroidRuntime(10753): at java.lang.System.loadLibrary(System.java:1667)
E/AndroidRuntime(10753): at com.arthenica.mobileffmpeg.Config.<clinit>(Unknown Source:148)
E/AndroidRuntime(10753): at com.arthenica.mobileffmpeg.Config.nativeFFprobeExecute(Native Method)
E/AndroidRuntime(10753): at com.arthenica.mobileffmpeg.f.a(Unknown Source:0)
E/AndroidRuntime(10753): at com.arthenica.mobileffmpeg.f.b(Unknown Source:0)
E/AndroidRuntime(10753): at com.arthenica.mobileffmpeg.f.a(Unknown Source:48)
E/AndroidRuntime(10753): at c.b.a.a.c.a(Unknown Source:21)
E/AndroidRuntime(10753): at c.b.a.a.c.doInBackground(Unknown Source:2)
E/AndroidRuntime(10753): at android.os.AsyncTask$3.call(AsyncTask.java:378)
E/AndroidRuntime(10753): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/AndroidRuntime(10753): ... 3 more
Does anyone know how to solve this error?
Please check that all required dependencies are included within "dependencies:" in pubspec.yaml. Dependencies declared inside "dev_dependencies:" are not included in released app
Add the following entries into your proguard-rules.pro file. If you don't have this file you can create and put in app folder.
-keep class com.arthenica.mobileffmpeg.Config {
native <methods>;
void log(long, int, byte[]);
void statistics(long, int, float, float, long , int, double, double);
}
-keep class com.arthenica.mobileffmpeg.AbiDetect {
native <methods>;
}
I have been struggling with this issue but stil no answer I have found by googling. After applying sslcommerz payment gateway getting the warning. Though it seems to be a related question but no proper solution is available on github or stackoverflow. Here I attached warning log.
Note : both .aab and .apk file are doing well before play store upload
Stacktrace 1:
StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/util/LongArray;->get(I)J
at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
at java.lang.Class.getDeclaredMethodInternal(Native Method)
at java.lang.Class.getPublicMethodRecursive(Class.java:2075)
at java.lang.Class.getMethod(Class.java:2063)
at java.lang.Class.getMethod(Class.java:1690)
at io.flutter.view.AccessibilityViewEmbedder$ReflectionAccessors.<init>(AccessibilityViewEmbedder.java:475)
at io.flutter.view.AccessibilityViewEmbedder$ReflectionAccessors.<init>(AccessibilityViewEmbedder.java:429)
at io.flutter.view.AccessibilityViewEmbedder.<init>(AccessibilityViewEmbedder.java:70)
at io.flutter.view.AccessibilityBridge.<init>(AccessibilityBridge.java:352)
at io.flutter.embedding.android.FlutterView.attachToFlutterEngine(FlutterView.java:912)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onCreateView(FlutterActivityAndFragmentDelegate.java:303)
at io.flutter.embedding.android.FlutterActivity.createFlutterView(FlutterActivity.java:520)
at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:414)
at android.app.Activity.performCreate(Activity.java:7144)
at android.app.Activity.performCreate(Activity.java:7135)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:2)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Stacktrace 2:
StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J
at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
at java.lang.Class.getDeclaredMethodInternal(Native Method)
at java.lang.Class.getPublicMethodRecursive(Class.java:2075)
at java.lang.Class.getMethod(Class.java:2063)
at java.lang.Class.getMethod(Class.java:1690)
at io.flutter.view.AccessibilityViewEmbedder$ReflectionAccessors.<init>(AccessibilityViewEmbedder.java:446)
at io.flutter.view.AccessibilityViewEmbedder$ReflectionAccessors.<init>(AccessibilityViewEmbedder.java:429)
at io.flutter.view.AccessibilityViewEmbedder.<init>(AccessibilityViewEmbedder.java:70)
at io.flutter.view.AccessibilityBridge.<init>(AccessibilityBridge.java:352)
at io.flutter.embedding.android.FlutterView.attachToFlutterEngine(FlutterView.java:912)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onCreateView(FlutterActivityAndFragmentDelegate.java:303)
at io.flutter.embedding.android.FlutterActivity.createFlutterView(FlutterActivity.java:520)
at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:414)
at android.app.Activity.performCreate(Activity.java:7144)
at android.app.Activity.performCreate(Activity.java:7135)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:2)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Stacktrace 3:
StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray;
at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
at java.lang.Class.getDeclaredField(Native Method)
at io.flutter.view.AccessibilityViewEmbedder$ReflectionAccessors.<init>(AccessibilityViewEmbedder.java:471)
at io.flutter.view.AccessibilityViewEmbedder$ReflectionAccessors.<init>(AccessibilityViewEmbedder.java:429)
at io.flutter.view.AccessibilityViewEmbedder.<init>(AccessibilityViewEmbedder.java:70)
at io.flutter.view.AccessibilityBridge.<init>(AccessibilityBridge.java:352)
at io.flutter.embedding.android.FlutterView.attachToFlutterEngine(FlutterView.java:912)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onCreateView(FlutterActivityAndFragmentDelegate.java:303)
at io.flutter.embedding.android.FlutterActivity.createFlutterView(FlutterActivity.java:520)
at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:414)
at android.app.Activity.performCreate(Activity.java:7144)
at android.app.Activity.performCreate(Activity.java:7135)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:2)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Stacktrace 4:
StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J
at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
at java.lang.Class.getDeclaredMethodInternal(Native Method)
at java.lang.Class.getPublicMethodRecursive(Class.java:2075)
at java.lang.Class.getMethod(Class.java:2063)
at java.lang.Class.getMethod(Class.java:1690)
at io.flutter.view.AccessibilityViewEmbedder$ReflectionAccessors.<init>(AccessibilityViewEmbedder.java:451)
at io.flutter.view.AccessibilityViewEmbedder$ReflectionAccessors.<init>(AccessibilityViewEmbedder.java:429)
at io.flutter.view.AccessibilityViewEmbedder.<init>(AccessibilityViewEmbedder.java:70)
at io.flutter.view.AccessibilityBridge.<init>(AccessibilityBridge.java:352)
at io.flutter.embedding.android.FlutterView.attachToFlutterEngine(FlutterView.java:912)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onCreateView(FlutterActivityAndFragmentDelegate.java:303)
at io.flutter.embedding.android.FlutterActivity.createFlutterView(FlutterActivity.java:520)
at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:414)
at android.app.Activity.performCreate(Activity.java:7144)
at android.app.Activity.performCreate(Activity.java:7135)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:2)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
This issue appears very similar, or perhaps identical, to what is described in the question here.
It refers to an error that we have seen occur after linking our Smart Home Google Assistant app. The OAuth linking is successful, but an error occurs before a SYNC request is sent to our endpoint. The error message in the app is the following:
Couldn't update the setting. Check your connection.
We have reproduced this with a freshly created Google account, but it does not occur when using an older account that we have used during development, it is unclear to us why. So far, this new account continues to encounter the error during every link attempt.
Additionally, we have attempted to link to a different smart home provider's app with this same account, and the same error occurred. This leads us to believe that the issue may be independent of our specific implementation.
Some of our early users have been encountering issues that resemble this, therefore we are understandably interested in getting to the bottom of this.
EDIT
As suggested in a comment below, we have also checked the StackDriver logs, which include the following:
{
insertId: "1eialu1g1wsicsh"
logName: "projects/***********/logs/actions.googleapis.com%2Factions"
receiveTimestamp: "2018-03-23T07:11:42.864362172Z"
resource: {
labels: {
action_id: "SMART_HOME_SYNC"
project_id: "********"
version_id: ""
}
type: "assistant_action"
}
severity: "ERROR"
textPayload: "SYNC: Request ID 14632813443482912913 failed with code: OPEN_AUTH_FAILURE"
timestamp: "2018-03-23T07:11:42.843302777Z"
}
This clearly points to an OAuth issue, but according to our logs the OAuth link is successful. Interestingly, we googled the error 'OPEN_AUTH_FAILURE' and stumbled up this thread. In it, user 'tr0zanwow' suggests that the account with which one is logged into Google Chrome should match the one in the Google Assistant app. Sure enough, the Chrome app on our test device was using a different Google account; after changing it to match the error stopped occurring. Changing the Chrome account back (making them different again) did not cause the problem to reoccur, however. It is unclear to us what the implications are exactly.
ORIGINAL
As requested in the similar question, linked at the top, we have included logcat logs at the end of this question. They start from a point directly after the user commits their login details to our OAuth service, after which flow returns to the Home Control page.
We have included this much information for fear of leaving anything out that may be useful to a more knowledgeable reader.
The most notable lines are perhaps:
W/ASPrefControlBase: #onFailure
W/S3NetworkUtils: [Upload] response code: 500
W/SearchService: Abort, client detached.
Our Google Assistant app has already been certified and is live, so this is not a test version. We have not made any announcements yet, however, and we wish to discover the cause of this error before doing so.
Any help will be greatly appreciated.
Log A - Error
03-22 10:46:11.477 28274-28274/? W/BrowserControlActivity: Transition animation scale is not available
03-22 10:46:11.487 28274-28274/? D/ViewRootImpl#749b1e7[BrowserControlActivity]: Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x7 surface={isValid=true 513947270656} surfaceGenerationChanged=true
03-22 10:46:11.487 28274-28274/? D/ViewRootImpl#749b1e7[BrowserControlActivity]: mHardwareRenderer.initialize() mSurface={isValid=true 513947270656} hwInitialized=true
03-22 10:46:11.500 28274-28473/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x2560]-format:1
03-22 10:46:11.509 28274-28274/? D/ViewRootImpl#e3863da[AssistantHandoffActivity]: Relayout returned: oldFrame=[720,1322][720,1322] newFrame=[720,1322][720,1322] result=0x3 surface={isValid=true 514602466816} surfaceGenerationChanged=true
03-22 10:46:11.509 28274-28274/? D/ViewRootImpl#e3863da[AssistantHandoffActivity]: mHardwareRenderer.initialize() mSurface={isValid=true 514602466816} hwInitialized=true
03-22 10:46:11.511 28274-28473/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1x1]-format:1
03-22 10:46:11.525 28274-28274/? D/ViewRootImpl#f1f4180[AssistantSettingsActivityInternal]: Relayout returned: oldFrame=[0,0][1440,2560] newFrame=[0,0][1440,2560] result=0x3 surface={isValid=true 515082470400} surfaceGenerationChanged=true
03-22 10:46:11.525 28274-28274/? D/ViewRootImpl#f1f4180[AssistantSettingsActivityInternal]: mHardwareRenderer.initialize() mSurface={isValid=true 515082470400} hwInitialized=true
03-22 10:46:11.595 28274-28274/? D/ViewRootImpl#749b1e7[BrowserControlActivity]: MSG_WINDOW_FOCUS_CHANGED 1
03-22 10:46:11.595 28274-28473/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x2560]-format:1
03-22 10:46:11.595 28274-28274/? D/ViewRootImpl#749b1e7[BrowserControlActivity]: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 513947270656}
03-22 10:46:11.597 28274-28274/? V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo#4801c30 nm : com.google.android.googlequicksearchbox ic=null
03-22 10:46:11.597 28274-28274/? I/InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus
03-22 10:46:11.603 28274-28274/? D/InputTransport: Input channel constructed: fd=175
03-22 10:46:12.537 28274-28274/? D/ViewRootImpl#749b1e7[BrowserControlActivity]: mHardwareRenderer.destroy()#4
03-22 10:46:12.537 28274-28274/? D/ViewRootImpl#749b1e7[BrowserControlActivity]: dispatchDetachedFromWindow
03-22 10:46:12.545 28274-28274/? D/InputTransport: Input channel destroyed: fd=185
03-22 10:46:12.561 28274-28274/? D/ViewRootImpl#e3863da[AssistantHandoffActivity]: Relayout returned: oldFrame=[720,1322][720,1322] newFrame=[720,1322][720,1322] result=0x1 surface={isValid=true 514602466816} surfaceGenerationChanged=false
03-22 10:46:12.561 28274-28274/? D/ViewRootImpl#e3863da[AssistantHandoffActivity]: MSG_WINDOW_FOCUS_CHANGED 1
03-22 10:46:12.561 28274-28274/? D/ViewRootImpl#e3863da[AssistantHandoffActivity]: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 514602466816}
03-22 10:46:12.562 28274-28274/? V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo#24ece65 nm : com.google.android.googlequicksearchbox ic=null
03-22 10:46:12.562 28274-28274/? I/InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus
03-22 10:46:12.564 28274-28274/? D/InputTransport: Input channel constructed: fd=173
03-22 10:46:12.564 28274-28274/? D/InputTransport: Input channel destroyed: fd=175
03-22 10:46:12.564 28274-28274/? E/ViewRootImpl: sendUserActionEvent() mView == null
03-22 10:46:12.626 28274-28274/? D/TextView: setTypeface with style : 0
03-22 10:46:12.640 28274-28274/? D/TextView: setTypeface with style : 0
03-22 10:46:12.646 28274-28274/? D/TextView: setTypeface with style : 0
03-22 10:46:12.648 28274-28274/? D/TextView: setTypeface with style : 0
03-22 10:46:12.650 28274-28274/? D/TextView: setTypeface with style : 0
03-22 10:46:12.654 28274-28274/? D/ViewRootImpl#592b4f9[AssistantSettingsActivityInternal]: ThreadedRenderer.create() translucent=true
03-22 10:46:12.658 28274-28274/? D/InputTransport: Input channel constructed: fd=178
03-22 10:46:12.659 28274-28274/? D/ViewRootImpl#592b4f9[AssistantSettingsActivityInternal]: setView = DecorView#4311c3e[AssistantSettingsActivityInternal] touchMode=true
03-22 10:46:12.666 28274-28274/? D/ViewRootImpl#f1f4180[AssistantSettingsActivityInternal]: MSG_WINDOW_FOCUS_CHANGED 1
03-22 10:46:12.666 28274-28274/? D/ViewRootImpl#f1f4180[AssistantSettingsActivityInternal]: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 515082470400}
03-22 10:46:12.667 28274-28274/? V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo#239f7ec nm : com.google.android.googlequicksearchbox ic=null
03-22 10:46:12.667 28274-28274/? I/InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus
03-22 10:46:12.668 28274-28274/? D/InputTransport: Input channel constructed: fd=179
03-22 10:46:12.668 28274-28274/? D/InputTransport: Input channel destroyed: fd=173
03-22 10:46:12.669 28274-28274/? D/ViewRootImpl#e3863da[AssistantHandoffActivity]: MSG_WINDOW_FOCUS_CHANGED 0
03-22 10:46:12.672 28274-28274/? D/ViewRootImpl#592b4f9[AssistantSettingsActivityInternal]: dispatchAttachedToWindow
03-22 10:46:12.712 28274-28274/? D/ViewRootImpl#592b4f9[AssistantSettingsActivityInternal]: Relayout returned: oldFrame=[0,0][0,0] newFrame=[37,1119][1403,1525] result=0x27 surface={isValid=true 513947270656} surfaceGenerationChanged=true
03-22 10:46:12.713 28274-28274/? D/ViewRootImpl#592b4f9[AssistantSettingsActivityInternal]: mHardwareRenderer.initialize() mSurface={isValid=true 513947270656} hwInitialized=true
03-22 10:46:12.716 28274-28473/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1590x630]-format:1
03-22 10:46:12.717 28274-28274/? D/ViewRootImpl#e3863da[AssistantHandoffActivity]: mHardwareRenderer.destroy()#1
03-22 10:46:12.729 28274-28274/? D/ViewRootImpl#e3863da[AssistantHandoffActivity]: Relayout returned: oldFrame=[720,1322][720,1322] newFrame=[720,1322][720,1322] result=0x5 surface={isValid=false 0} surfaceGenerationChanged=true
03-22 10:46:12.729 28274-28274/? D/ViewRootImpl#592b4f9[AssistantSettingsActivityInternal]: MSG_WINDOW_FOCUS_CHANGED 1
03-22 10:46:12.730 28274-28274/? D/ViewRootImpl#592b4f9[AssistantSettingsActivityInternal]: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 513947270656}
03-22 10:46:12.751 28274-28274/? D/ViewRootImpl#592b4f9[AssistantSettingsActivityInternal]: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1
03-22 10:46:12.786 28274-28274/? D/ViewRootImpl#f1f4180[AssistantSettingsActivityInternal]: MSG_WINDOW_FOCUS_CHANGED 0
03-22 10:46:12.792 28274-7980/? W/CronetNetworkRqstWrppr: Upload request without a content type.
03-22 10:46:13.065 28274-28274/? W/SearchService: Abort, client detached.
03-22 10:46:13.065 28274-28274/? W/SearchService: Abort, client detached.
03-22 10:46:13.523 28274-28274/? D/TextView: setTypeface with style : 0
03-22 10:46:13.531 28274-28274/? W/ASPrefControlBase: #onFailure
com.google.android.apps.gsa.shared.speech.b.o: errorCode: -83903, engine: 2
at com.google.android.apps.gsa.s3.t.b(SourceFile:7)
at com.google.android.apps.gsa.s3.o.a(SourceFile:9)
at com.google.android.apps.gsa.s3.m.als(SourceFile:70)
at com.google.android.apps.gsa.s3.l.run(SourceFile:19)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at com.google.android.apps.gsa.shared.util.concurrent.b.g.run(Unknown Source)
at com.google.android.apps.gsa.shared.util.concurrent.b.au.run(SourceFile:4)
at com.google.android.apps.gsa.shared.util.concurrent.b.au.run(SourceFile:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:762)
at com.google.android.apps.gsa.shared.util.concurrent.b.i.run(SourceFile:6)
03-22 10:46:13.541 28274-28274/? D/ViewRootImpl#592b4f9[AssistantSettingsActivityInternal]: mHardwareRenderer.destroy()#4
03-22 10:46:13.541 28274-28274/? D/ViewRootImpl#592b4f9[AssistantSettingsActivityInternal]: dispatchDetachedFromWindow
03-22 10:46:13.574 28274-28274/? D/InputTransport: Input channel destroyed: fd=178
03-22 10:46:13.578 28274-28274/? D/ViewRootImpl#f1f4180[AssistantSettingsActivityInternal]: MSG_WINDOW_FOCUS_CHANGED 1
03-22 10:46:13.579 28274-28274/? D/ViewRootImpl#f1f4180[AssistantSettingsActivityInternal]: mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 515082470400}
03-22 10:46:13.589 28274-28274/? E/ViewRootImpl: sendUserActionEvent() mView == null
03-22 10:46:13.591 28274-8715/? W/S3NetworkUtils: [Upload] response code: 500
03-22 10:46:13.602 28274-28274/? W/SearchService: Abort, client detached.
03-22 10:46:13.621 28274-28274/? D/ViewRootImpl#e3863da[AssistantHandoffActivity]: mHardwareRenderer.destroy()#4
03-22 10:46:13.621 28274-28274/? D/ViewRootImpl#e3863da[AssistantHandoffActivity]: dispatchDetachedFromWindow
03-22 10:46:13.642 28274-28274/? D/InputTransport: Input channel destroyed: fd=156
I was attempting the SmartHome Codelab and ran into the same error when I tried adding the test device to my Home Control app.
I was using Brave as the default browser on my app but switching it back to Chrome fixed the issue.
this is my logcat-
03-23 21:02:12.573 22442-22442/the.falacermusicE/AndroidRuntime:FATAL EXCEPTION: main
android.app.SuperNotCalledException: Activity {the.falacermusic/the.falacermusic.ui.activities.HomeActivity} did not call through to super.onStart()
at android.app.Activity.performStart(Activity.java:5196)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2087)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2139)
at android.app.ActivityThread.access$700(ActivityThread.java:143)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1241)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4963)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
03-23 21:02:12.573 22442-22442/the.falacermusicE/AndroidRuntime:FATAL EXCEPTION: main android.app.SuperNotCalledException: Activity {the.falacermusic/the.falacermusic.ui.activities.HomeActivity} did not call through to super.onStart()
As the error states you are implementing the onStart method in your HomeActivity but you are not going throgh the super.onStart() method.