question

pravin avatar image
pravin asked pravin commented

Problem to run the clover APP on Android Studio device.

Hi Team,

I am having problem to execute the Clover APP on android studio device. It's working on Clover Genymotion emulator. But on android studio device, clover account object is getting null so further execution is not proceeding.

For testing purpose, each time I need to generate new APK and install it on clover account. Is there any possible solution? So we can run our clover application on the Android studio device.

Thanks,

10 |2000

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

1 Answer

Mike M avatar image
Mike M answered pravin commented

By Android Studio device, are you referring to the Clover DevKit?

Have you tried installing your application via the App Market app first, before sideloading the apk via Android Studio? In order for the app to have permissions to do anything, the device needs to be synced with the App Market (via the app install) to acquire the token.

https://docs.clover.com/build/android...

2 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.

pravin avatar image pravin commented ·

Thanks for early response mike. So regarding your question No, i am not referring the Clover DevKit for Android Studio Device. And also I have followed all the instructions from https://docs.clover.com/build/android.... This APP works on Clover Station of Genymotion Emulator. Can you provide more detail information how to do it on Android Studio Device?

0 Likes 0 ·
Mike M avatar image Mike M commented ·

Are you referring to the Android Virtual Devices that you are able to manage via Android Studio? (http://developer.android.com/tools/de...)

If so, those emulators need to be configured in the same way as you configured your Genymotion emulator. Please see this documentation: https://docs.clover.com/build/android...

You likely are receiving a null Clover Account because Clover's engine apk has not been installed and configured with your developer account.

0 Likes 0 ·

Welcome to the
Clover Developer Community