question

adil avatar image
adil asked David Marginian commented

install_apps.py Not installing the apps in the emulator.

Iam using python 2.5

when i try to run install_apps.py it immediately opens a terminal window and closes instantly.

no success message, no progress bars.

apps arent shown in the emulator either.

how can i fix this ?

environment details:

windows 10.

clover flex 2md gen

had a problem with add-account -> clover , it was showing [stg] instead of [dev] so i looked at other threads in the forum and fixed it by downgrading the apk version of the clover engine to 2086.apk.


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

This should be fixed, but we haven't updated the link yet, try downloading:

https://filessandbox.dev.clover.com/v2/apk/com.clover.engine-2131.apk

0 Likes 0 ·
adil avatar image adil David Marginian ♦♦ ·

after installing 2086 it worked, now I can create the clover account in the emulator.

but the real problem is with running the python script to install the apps as I mentioned in the question body above.

please help.

0 Likes 0 ·

1 Answer

· Write an Answer
David Marginian avatar image
David Marginian answered David Marginian commented

"Iam using python 2.5"

https://docs.clover.com/docs/setting-up-an-android-emulator#installing-required-clover-merchant-apps

In this setup step, all Clover apps for merchants (such as Register, Orders, and Inventory) are installed by running a Python script. This script requires Python v3.5 or higher. Any of your apps installed to the test merchant you select will also be installed.
8 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.

Dude i have already read the documentation,

Im asking why the pthin script isnt working ?

0 Likes 0 ·

I believe I just answered your question. You said you are using Python 2.5, our documentation clearly states that Python 3.5 or higher is required..

0 Likes 0 ·
adil avatar image adil David Marginian ♦♦ ·
Your script isnt working on python 3, Its only working on python 2.7.

The script isnt working on windows. had to manually change the script code to make it work in windows.


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