question

jraymer917 avatar image
jraymer917 asked jraymer917 commented

Emulator - Clover Engine 2126 (STG)

I am trying to setup an Emulator for Clover Station 2018. When I use the current APKs at https://sandbox.dev.clover.com/developers/dev-apks and go to enter my credentials under Accounts, it has the STG instead of DEV. I have tried some of the work arounds using older APKs but those get stuck on installing Core Payments. How can we get around this?

Emulator
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ismdcf avatar image ismdcf commented ·

@admin @

We are also having the same issue. Is there a new apk released for this issue.

0 Likes 0 ·
pttommy avatar image
pttommy answered pttommy edited

I'm also facing this issues. Additionally in the adb logs I see all sorts of authorisation errors and orders are not syncing:


onPerformSync(SyncProvider.java:360)[SyncAdapterThread-44]: IO exception syncing authority: com.clover.settings, exception: java.io.IOException: java.io.IOException: GET to https://apistg1.dev.clover.com/v3/merchants/???/settings?syncId=1622472902162&modifiedSince=1622450727000&modifiedBefore= failed due to server returned error: HttpErrorDetails{statusCode=401, reasonPhrase='Unauthorized', errorBody='{"message":"401 Unauthorized"}', retryAfterSeconds=-1}
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered jraymer917 commented

https://community.clover.com/questions/22829/comcloverengine-2087apk-looks-to-have-been-build-f.html

Try downloading an older version of engine per Jeff's comment and we will look into getting this fixed.

9 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jraymer917 avatar image jraymer917 commented ·

thank you for the response. I run two commands you suggested. Now when I try to add the Clover account, the Clover app keeps stopping. Never even gets to where I enter my credentials.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ jraymer917 commented ·

Can you check the logs?

0 Likes 0 ·
jraymer917 avatar image jraymer917 David Marginian ♦♦ commented ·

There is a bunch of stuff, below is the error parts.

2021-06-02 11:52:46.574 1345-1345/? E/EGL_emulation: tid 1345: eglCreateSyncKHR(2050): error 0x3004 (EGL_BAD_ATTRIBUTE)


2021-06-02 11:52:46.639 4694-4725/com.clover.engine E/CloverAccount: failed to get clover accounts

android.os.RemoteException: No Clover accounts found

at com.clover.sdk.util.CloverAccount.getAccounts(CloverAccount.java:103)

at com.clover.sdk.util.CloverAccount.getAccount(CloverAccount.java:78)

at com.clover.common.analytics.Analytics.getClient(Analytics.java:98)

at com.clover.common.analytics.Analytics._log(Analytics.java:57)

at com.clover.common.analytics.Analytics.lambda$log$0$Analytics(Analytics.java:46)

at com.clover.common.analytics.-$$Lambda$Analytics$TweaGL4I7TsLg-6lFTIlmnTQl7o.run(lambda)

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:761)

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community