question

anthonypinto avatar image
anthonypinto asked scottchilds commented

How can I set up a test device for developing my app?

How can I set up a test device for developing my app?

SandboxDevKitEmulator
10 |2000

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

anthonypinto avatar image
anthonypinto answered scottchilds commented

We recommend using a Clover Developer Kit to fully test your user experience and be to able to access hardware-specific functionality, such as NFC (like Apple Pay) and other Secure Payments, as well as printing, or scanning.

However, if you are not relying on those functionalities, it is also possible to use an emulator to quickly prototype, develop, and test your Clover applications.

You can order a Developer Kit here: http://cloverdevkit.com/

There are instructions for setting up your Developer Kit here: https://docs.clover.com/build/android...

And instructions for setting up an Emulator Here: https://docs.clover.com/build/android...

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

andypartender avatar image andypartender commented ·

The process described in the Emulator link does not work presently, as other commenters mention the launcher dies when you attempt to add an account per the instruction in the guide. https://gist.github.com/andyfunston/0da82cbd5a174c2a4623

0 Likes 0 ·
brokenoval avatar image brokenoval commented ·

I'd highly recommend getting a dev kit - the emulator is limited and even if you get your app working , if you use any hardware specific features (like the camera, swivel, gps, wifi etc) - you will need to test it on an actual device, or risk a multitude of different crash scenarios.

0 Likes 0 ·
anthonypinto avatar image anthonypinto commented ·

This is an identified bug, I'll update once we have a fix. In the meantime you may be able to use older versions of the engine apk (pre 1446)

0 Likes 0 ·
mkonnekt avatar image mkonnekt commented ·

Anthony, Could you please share the URL to get the older version of the engine please. And will I need to get an older version of the App Updater too? If so, please share the URL for that as well.

0 Likes 0 ·
anthonypinto avatar image anthonypinto commented ·

There is a temporary work around for production test merchants only, posted here: https://docs.clover.com/build/android-apps/android-emulator-setup/

0 Likes 0 ·
Show more comments
lidongdong559 avatar image
lidongdong559 answered

I followed the instruction and failed though...

10 |2000

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

tursus-software avatar image
tursus-software answered lidongdong559 commented

I've had great lucking setting up development emulators and physical devices previously.....but right I cannot set one up using the sandbox APKs.

Whenever I try to add my Clover Account it can't even get to the login and says "Unfortunately, Clover has stopped.".

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.

lidongdong559 avatar image lidongdong559 commented ·

Can you actually run those samples on the emulators or devices you set up previously?

0 Likes 0 ·
mkonnekt avatar image
mkonnekt answered hj02 commented

Hi,

I installed clover engine #1452 as specified in the workaround above along with appupdater #1095.

However, the "Clover launcher" didn't get created on the emulator so even after adding a Clover account I am not able to start the Clover app on my emulator. Please suggest what has to be done to get the Clover launcher in apps list and actually start Clover on the 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.

hj02 avatar image hj02 commented ·

You could try manually installing the launcher apk: https://www.clover.com/developers/dev-apks Download the file locally and install with adb.

0 Likes 0 ·

Welcome to the
Clover Developer Community