0

Below is the link to the video for the issue that we are experiencing. https://s3.amazonaws.com/uploads.hipc...

Following is the error message for the same:

05-05 15:46:10.747  29621-29621/? E/CloverService? onBind(CloverService.java:41): binder creation failed
    java.lang.IllegalArgumentException: unable to obtain merchant for account: null
            at com.clover.engine.clover.CloverBinder.<init>(CloverBinder.java:99)
            at com.clover.engine.clover.CloverService.onBind(CloverService.java:38)
            at android.app.ActivityThread.handleBindService(ActivityThread.java:2761)
            at android.app.ActivityThread.access$1700(ActivityThread.java:165)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
            at android.os.Handler.dispatchMessage(Handler.java:107)
            at android.os.Looper.loop(Looper.java:194)
            at android.app.ActivityThread.main(ActivityThread.java:5400)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:525)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
            at dalvik.system.NativeStart.main(Native Method)
05-05 15:46:10.923      535-551/? E/AudioService? handleConfigurationChanged() createInstance IAudioServiceExt fail
05-05 15:46:11.079  29621-29621/? E/linker? load_library(linker.cpp:759): library "libmaliinstr.so" not found
05-05 15:46:11.081  29621-29621/? E/? appName=com.clover.engine, acAppName=com.android.cts.openglperf
05-05 15:46:11.081  29621-29621/? E/? 0
05-05 15:46:11.081  29621-29621/? E/? appName=com.clover.engine, acAppName=com.android.browser
05-05 15:46:11.081  29621-29621/? E/? 0
05-05 15:46:11.707  29621-29644/? E/NativeCrypto? ssl=0x5e1de9b8 cert_verify_callback x509_store_ctx=0x5db36a88 arg=0x0
05-05 15:46:11.707  29621-29644/? E/NativeCrypto? ssl=0x5e1de9b8 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
05-05 15:46:11.714  29621-29652/? E/NativeCrypto? ssl=0x5f3534f0 cert_verify_callback x509_store_ctx=0x5e57fa88 arg=0x0
05-05 15:46:11.714  29621-29652/? E/NativeCrypto? ssl=0x5f3534f0 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
05-05 15:46:12.899  29621-29652/? E/WifiManager? mWifiServiceMessenger == null
05-05 15:46:13.210  29621-29652/? E/AndroidRuntime? FATAL EXCEPTION: IntentService[AppsIntentService]
    java.lang.SecurityException: Access denied to package com.clover.engine
            at com.clover.engine.authenticator.AccountAuthenticator.checkCallerClover(AccountAuthenticator.java:469)
            at com.clover.engine.providers.AppInfoProvider.bulkInsert(AppInfoProvider.java:281)
            at android.content.ContentProvider$Transport.bulkInsert(ContentProvider.java:207)
            at android.content.ContentResolver.bulkInsert(ContentResolver.java:955)
            at com.clover.engine.io.AppsSyncAdapter.updateApps(AppsSyncAdapter.java:241)
            at com.clover.engine.io.AppsIntentService.onHandleIntent(AppsIntentService.java:80)
            at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
            at android.os.Handler.dispatchMessage(Handler.java:107)
            at android.os.Looper.loop(Looper.java:194)
            at android.os.HandlerThread.run(HandlerThread.java:60)
05-05 15:46:13.328      535-556/? E/AppErrorDialog? Failed to get ILowStorageHandle instance
05-05 15:46:13.517      832-964/? E/TelephonyProvider? iTelephony is null!!!

Hi. I am using genymotion 4.1.1 and when I try to sign into a clover account I get Unfortunately, Clover has stopped. Is there an existing problem that you guys are working on or is there an issue with compatibility? I have tried 8 different computers.

asked 2016-05-13 02:35:37 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Comments

What version of the Clover Services (engine) APK are you using?

jeff gravatar image
jeff 2016-05-13 10:53:53 -0500

It is 1804

Sakshi Thakur gravatar image
Sakshi Thakur 2016-05-18 08:14:10 -0500

I can't recreate this error. Have you run the script to point your environment at sandbox, then added your account? Generally I do things in this order:

  1. Provision a new Android emulator (4.4.2)
  2. Install Clover engine
  3. Run the environment script, set to sandbox
  4. Create a Clover account binding within the emulator
  5. Install Clover APKs - app updater (Register, Orders etc.)

What steps are you using?

johnnytapley gravatar image
johnnytapley 2016-05-26 19:36:00 -0500

Can you link to the Clover engine APK you installed?

jeff gravatar image
jeff 2016-06-02 10:47:54 -0500

2 answers

Sort by  
0

Please download the App Updater and Clover Engine from this location. https://sandbox.dev.clover.com/develo...

Tested with: App Updater: com.clover.appupdater-1100.apk Clover: com.clover.engine-1821.apk

Using this version of the Engine apk. You should not have to run the target environment script.

From there you will need to go into Android Settings and add a Clover account. Login in with your Sandbox Developer account credentials. After that the App Updater should kick in and download rest of the APKs.

Then you should be good to go.

answered 2016-09-09 13:23:43 -0500

James Cha gravatar image
Comments

When you use anything other than 4.2.x nothing parses or works properly. When is clover going to update the platform to run on android 5.x.x & 6.x.x

also we have a few questions please help us with them under techpay.

TechPay gravatar image
TechPay 2016-09-12 13:46:47 -0500

Like you said 4.2.x is the version our devices run on. You should develop for API level 17 and 19 depending on devices you would to be on.

James Cha gravatar image
James Cha 2016-09-12 13:52:13 -0500
0

This was broken in engine 1804, and will be fixed in the next release which is rolling out tonight (June 13). Please re-download and install engine from the same page (https://www.clover.com/developers/dev...) tomorrow and re-test. Ensure that it's a version newer than 1804.

answered 2016-06-13 15:21:28 -0500

jeff gravatar image
Comments

@jeff It's June 16th and it still says version 1804 on https://www.clover.com/developers/dev.... I have tried re-downloading and reinstalling. It still produces the crash error when I try to open the clover dashboard or login from Android settings.

corey@madcreationapps.com gravatar image
corey@madcreationapps.com 2016-06-14 22:20:38 -0500

It's updated to version 1813 now.

jeff gravatar image
jeff 2016-06-16 14:06:45 -0500

I tried the engine version 1813 on both Android 4.2.2 and 4.4.4. Both are giving me the "stopped" error and the engine crashes as I attempt to log in.

Is there some kind of logging or diagnostic information I can provide to help isolate the issue?

4leaflabs gravatar image
4leaflabs 2016-06-21 03:38:26 -0500

A logcat of the crash would be useful.

jeff gravatar image
jeff 2016-06-21 12:01:54 -0500

So here's a sample of the logs I pulled from "ddms" Android tool.

06-21 10:19:01.041: E/AndroidRuntime(2231): FATAL EXCEPTION: IntentService[AppsIntentService] 06-21 10:19:01.041: E/AndroidRuntime(2231): java.lang.SecurityException: Access denied to package com.clover.engine 06-21 10:19:01.041: E/AndroidRuntime(2231): at com.clover.engine.authenticator.AccountAuthenticator.checkCallerClover(AccountAuthenticator.java:522) 06-21 10:19:01.041: E/AndroidRuntime(2231): at com.clover.engine.providers.AppInfoProvider.bulkInsert(AppInfoProvider.java:288) 06-21 10:19:01.041: E/AndroidRuntime(2231

4leaflabs gravatar image
4leaflabs 2016-06-21 16:51:22 -0500