Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on SDK < 21 #51

Open
Nialit opened this issue Dec 4, 2020 · 0 comments
Open

Crashes on SDK < 21 #51

Nialit opened this issue Dec 4, 2020 · 0 comments

Comments

@Nialit
Copy link

Nialit commented Dec 4, 2020

Expected Behavior

The app should not crash when using API version 18-20 as support for API >=18 is noted

Current Behavior

Not working with API < 21. Crashes due to no actions info is downloaded and API_KEY not confirmed.

Possible Solution

--

Steps to Reproduce

Use HoverStarted with AVD API 19

Context (Environment)

Using release: 1.6.5

Some devices experiencing it:

Tried only with AVD API 19(Google apis)

Detailed Description

E/KeyCheckerWorker: ERROR CODE 4013: Network problem, trying again.
I/WM-WorkerWrapper: Worker result RETRY for Work [ id=ad943017-08a7-49e1-8754-d78027b8f336, tags={ com.hover.sdk.security.KeyCheckerWorker } ]
D/EGL_emulation: eglMakeCurrent: 0xb81b4ed0: ver 2 0
D/EGL_emulation: eglMakeCurrent: 0xb81b4ed0: ver 2 0
D/EGL_emulation: eglMakeCurrent: 0xb81b4ed0: ver 2 0
D/EGL_emulation: eglMakeCurrent: 0xb81b4ed0: ver 2 0
D/EGL_emulation: eglMakeCurrent: 0xb81b4ed0: ver 2 0
I/WM-WorkerWrapper: Worker result SUCCESS for Work [ id=0b197d1c-826b-4e30-b155-19ad4d44bf1c, tags={ com.hover.sdk.sims.MultiSimTelephonyWorker } ]
I/dalvikvm: Could not find method com.hover.sdk.requests.HoverAccessibilityService.getSoftKeyboardController, referenced from method com.hover.sdk.requests.HoverAccessibilityService.ˊ
W/dalvikvm: VFY: unable to resolve virtual method 31040: Lcom/hover/sdk/requests/HoverAccessibilityService;.getSoftKeyboardController ()Landroid/accessibilityservice/AccessibilityService$SoftKeyboardController;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0034
I/dalvikvm: Could not find method com.hover.sdk.requests.HoverAccessibilityService.getSoftKeyboardController, referenced from method com.hover.sdk.requests.HoverAccessibilityService.ˏ
W/dalvikvm: VFY: unable to resolve virtual method 31040: Lcom/hover/sdk/requests/HoverAccessibilityService;.getSoftKeyboardController ()Landroid/accessibilityservice/AccessibilityService$SoftKeyboardController;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0038
D/EGL_emulation: eglMakeCurrent: 0xb81b4ed0: ver 2 0
D/EGL_emulation: eglMakeCurrent: 0xb81b4ed0: ver 2 0
E/EGL_emulation: tid 2541: eglSurfaceAttrib(1199): error 0x3009 (EGL_BAD_MATCH)
W/HardwareRenderer: Backbuffer cannot be preserved
I/dalvikvm: Could not find method android.app.Activity.finishAfterTransition, referenced from method androidx.core.app.ActivityCompat.finishAfterTransition
W/dalvikvm: VFY: unable to resolve virtual method 95: Landroid/app/Activity;.finishAfterTransition ()V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm: Could not find method android.app.Activity.getReferrer, referenced from method androidx.core.app.ActivityCompat.getReferrer
W/dalvikvm: VFY: unable to resolve virtual method 110: Landroid/app/Activity;.getReferrer ()Landroid/net/Uri;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm: Could not find method android.app.Activity.postponeEnterTransition, referenced from method androidx.core.app.ActivityCompat.postponeEnterTransition
W/dalvikvm: VFY: unable to resolve virtual method 125: Landroid/app/Activity;.postponeEnterTransition ()V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm: Could not find method android.app.Activity.requestPermissions, referenced from method androidx.core.app.ActivityCompat.requestPermissions
W/dalvikvm: VFY: unable to resolve virtual method 128: Landroid/app/Activity;.requestPermissions ([Ljava/lang/String;I)V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x001b
I/dalvikvm: Could not find method android.app.Activity.requireViewById, referenced from method androidx.core.app.ActivityCompat.requireViewById
W/dalvikvm: VFY: unable to resolve virtual method 129: Landroid/app/Activity;.requireViewById (I)Landroid/view/View;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
W/dalvikvm: Unable to resolve superclass of Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl; (76)
    Link of class 'Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;' failed
E/dalvikvm: Could not find class 'androidx.core.app.ActivityCompat$SharedElementCallback21Impl', referenced from method androidx.core.app.ActivityCompat.setEnterSharedElementCallback
W/dalvikvm: VFY: unable to resolve new-instance 1421 (Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;) in Landroidx/core/app/ActivityCompat;
D/dalvikvm: VFY: replacing opcode 0x22 at 0x0008
I/dalvikvm: Could not find method android.app.Activity.setEnterSharedElementCallback, referenced from method androidx.core.app.ActivityCompat.setEnterSharedElementCallback
W/dalvikvm: VFY: unable to resolve virtual method 130: Landroid/app/Activity;.setEnterSharedElementCallback (Landroid/app/SharedElementCallback;)V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f
W/dalvikvm: Unable to resolve superclass of Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl; (76)
    Link of class 'Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;' failed
E/dalvikvm: Could not find class 'androidx.core.app.ActivityCompat$SharedElementCallback21Impl', referenced from method androidx.core.app.ActivityCompat.setExitSharedElementCallback
W/dalvikvm: VFY: unable to resolve new-instance 1421 (Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;) in Landroidx/core/app/ActivityCompat;
D/dalvikvm: VFY: replacing opcode 0x22 at 0x0008
I/dalvikvm: Could not find method android.app.Activity.setExitSharedElementCallback, referenced from method androidx.core.app.ActivityCompat.setExitSharedElementCallback
W/dalvikvm: VFY: unable to resolve virtual method 131: Landroid/app/Activity;.setExitSharedElementCallback (Landroid/app/SharedElementCallback;)V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f
I/dalvikvm: Could not find method android.app.Activity.shouldShowRequestPermissionRationale, referenced from method androidx.core.app.ActivityCompat.shouldShowRequestPermissionRationale
W/dalvikvm: VFY: unable to resolve virtual method 135: Landroid/app/Activity;.shouldShowRequestPermissionRationale (Ljava/lang/String;)Z
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm: Could not find method android.app.Activity.startPostponedEnterTransition, referenced from method androidx.core.app.ActivityCompat.startPostponedEnterTransition
W/dalvikvm: VFY: unable to resolve virtual method 142: Landroid/app/Activity;.startPostponedEnterTransition ()V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
W/dalvikvm: Unable to resolve superclass of Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl; (76)
    Link of class 'Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;' failed
D/dalvikvm: DexOpt: unable to opt direct call 0x2dfe at 0x0a in Landroidx/core/app/ActivityCompat;.setEnterSharedElementCallback
W/dalvikvm: Unable to resolve superclass of Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl; (76)
    Link of class 'Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;' failed
D/dalvikvm: DexOpt: unable to opt direct call 0x2dfe at 0x0a in Landroidx/core/app/ActivityCompat;.setExitSharedElementCallback
D/EGL_emulation: eglMakeCurrent: 0xb81b4ed0: ver 2 0
D/EGL_emulation: eglMakeCurrent: 0xb81b4ed0: ver 2 0
D/EGL_emulation: eglMakeCurrent: 0xb81b4ed0: ver 2 0
D/AndroidRuntime: Shutting down VM
W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xacccab20)
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.usehover.hoverstarter, PID: 2541
    java.lang.RuntimeException: com.hover.sdk.api.HoverConfigException: ERROR CODE 2003: Action not found. If you have updated your actions in the Hover dashboard you must ensure that they are updated in your client which happens when `Hover.initialize()` is called.
        at com.hover.sdk.api.HoverParameters.<init>(SourceFile:28)
        at com.hover.sdk.api.HoverParameters.<init>(SourceFile:19)
        at com.hover.sdk.api.HoverParameters$Builder.buildIntent(SourceFile:254)
        at com.usehover.hoverstarter.MainActivity$2.onClick(MainActivity.java:46)
        at android.view.View.performClick(View.java:4438)
        at android.view.View$PerformClick.run(View.java:18422)
        at android.os.Handler.handleCallback(Handler.java:733)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:136)
        at android.app.ActivityThread.main(ActivityThread.java:5017)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:515)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
        at dalvik.system.NativeStart.main(Native Method)

@Nialit Nialit changed the title Failures on SDK < 21 Crashes on SDK < 21 Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant