question

saad_bin_iqbal avatar image
saad_bin_iqbal asked ·

I am not able to install Sandbox development APks on the Genymotion Emulator device as Clover Mini.

I'm using Genymotion Emulator as Clover Mini (1st gen KitKat19 Android 4.4) for Sandbox apps. It was working fine but after updating the apps It stopped working. It shows error while downloading the apps. I tried many times uninstalling all the app including Clover Engine and Updater but it does not work. Please consider attached screenshot clover-emulator-issue.png.
It download and verified the apps but does not install due to installation failed issue.
Sandbox
12 comments
10 |2000 characters needed characters left characters exceeded

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

@Chanel, any help please.

0 Likes 0 · ·

Have you tried the android emulator which comes as part of android studio? The latest Clover guidelines suggest it and we moved over to it a few years back.

0 Likes 0 · ·

I use Genymotion as It is much faster than Android studio's Emulator. I also faced this type of issues earlier but after updation for Clover Engine, Updater and dev-apps from Clover side it was resolved. So i think there is some update into dev-apps from Clover side that is not compatible with Genymotion Emulators.

0 Likes 0 · ·

Link to logcat please.

0 Likes 0 · ·
saad_bin_iqbal avatar image saad_bin_iqbal Jeffrey Blattman ♦♦ ·

Please consider below Logcat details, we get it when install failed. Please also consider attached image for the same.

07-11 06:52:11.800 3387-3428/com.clover.appupdater W/PackageRepositoryImpl: lambda$install$19(PackageRepositoryImpl.java:76): Requesting install for package id com.clover.crypt 
07-11 06:52:11.804 3387-3428/com.clover.appupdater E/PackageRepositoryImpl: lambda$install$19(PackageRepositoryImpl.java:133): Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? 
07-11 06:52:11.824 3387-3428/com.clover.appupdater I/AppInstallerService: dispose(AppInstallerService.java:205): Disposing on state 5
0 Likes 0 · ·

I need the entire logcat. Put it on pastebin and link it.

0 Likes 0 · ·
Show more comments

@Jeffrey Blattman, did you find some solution for me ?

0 Likes 0 · ·

1 Answer

· Write an Answer
saad_bin_iqbal avatar image
saad_bin_iqbal answered ·
There is again an issue I encountered. My other emulator device as Flex was working fine. I just uninstalled my application from the device, and then I again run the application using Android Studio. Now It is giving below exception on opening the application. Even all the things working fine some minutes ago.

07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err: com.clover.sdk.v1.ForbiddenException: status code: 403 App doesn't have required permission: package com.bluepumpsoftware.application does not have permission MERCHANT_R07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at com.clover.sdk.v1.ServiceConnector.throwOnFailure(ServiceConnector.java:314)07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at com.clover.sdk.v1.ServiceConnector.execute(ServiceConnector.java:249)07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at com.clover.sdk.v1.merchant.MerchantConnector.getMerchant(MerchantConnector.java:208)07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at com.bluepumpsoftware.asynctask.GetMerchantDetailAsyncTask.doInBackground(GetMerchantDetailAsyncTask.java:35)07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at com.bluepumpsoftware.asynctask.GetMerchantDetailAsyncTask.doInBackground(GetMerchantDetailAsyncTask.java:19)07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at android.os.AsyncTask$2.call(AsyncTask.java:292)07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:237)07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)07-17 06:01:40.596 2783-2832/com.bluepumpsoftware.application W/System.err:     at java.lang.Thread.run(Thread.java:818)07-17 06:01:40.693 2783-4637/com.bluepumpsoftware.application W/EGL_emulation: eglSurfaceAttrib not implemented07-17 06:01:40.693 2783-4637/com.bluepumpsoftware.application W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xeedb22c0, error=EGL_SUCCESS07-17 06:01:41.257 2783-4637/com.bluepumpsoftware.application W/EGL_emulation: eglSurfaceAttrib not implemented07-17 06:01:41.257 2783-4637/com.bluepumpsoftware.application W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xeedb22c0, error=EGL_SUCCESS


I get this error when I try to call getMerchant() on Merchant Connector object.
2 comments Share
10 |2000 characters needed characters left characters exceeded

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

@Jeffrey Blattman Please consider this issue as well. Now why I'm getting this issue.

com.clover.sdk.v1.ForbiddenException: status code:403App doesn't have required permission: package com.bluepumpsoftware.application does not have permission MERCHANT_R

Even it was working fine before uninstalling the application. I just uninstalled and installed the application.

0 Likes 0 · ·

@Jeffrey Blattman , did you find something ?

0 Likes 0 · ·

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