question

Satish avatar image
Satish asked Satish commented

Cannot install clover app on emulator: install_apps.py fails

As of May 12, 2023, the current Clover engine APK for sandbox (version 2212) seems to not create a valid appsinfo.db sqlite3 database in the emulator (no tables created - missing "apps" table). This causes the next step of installing Clover apps in the emulator using install_apps.py script to fail because it cannot get a list of apps to install and their locations. My environment is Apple Macbook M1 processor, latest MacOS (Ventura 13.3.1), latest Android Studio (Flamingo 2022.2.1 patch 1), and the included emulators.

Please either fix the clover engine APK for sandbox to run correctly on Apple Macbook M1 and create appsinfo.db database or provide a list of apps to install manually and their URLs so I can install them manually as a workaround.

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

bryanvargas avatar image bryanvargas ♦♦ commented ·
I am unable to reproduce this error, I have the new engine for sandbox and upgraded my python and pip. I would suggest upgrading your python and pip and installing the urllib3 module, then attempt to run the script.
0 Likes 0 ·
Satish avatar image Satish bryanvargas ♦♦ commented ·

Bryan, thanks for looking into this. I am already using the latest python version 3.11.1. However, I was able to move forward from this failure by downgrading the device in emulator to use Android API level 22, rather than the latest 29 that I was using.


However, the install script started to fail at another point where it was fetching the actual APK files. The issue is that the Clover's SSL certificate at https://filessandbox.dev.clover.com/ (the location from where the script downloads the APK files) seems to be missing or expired. When I modified install_apps.py line 60 to disable SSL certificate checking (http = urllib3.PoolManager(cert_reqs = ssl.CERT_NONE)) the script moves forward with a warning. Clover apps are now installed in the emulator device !

You might want to alert someone of the missing / expired SSL certificate at sandbox file server above. Thanks.

0 Likes 0 ·

0 Answers

·

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