Hi, I am using Android Studio 2.1 on Ubuntu and the goal is to set up an emulator on which I can also install apps of the Clover market, which have been programmed by a third party. I have successfully set up the emulator by using the apks provided from the following source:
Then I had to change the environment using sh target_sandbox.sh by firing the command on Android Studio. The problem however is that I cannot install third party apps with this environment as they are not shown on the app market of the sandbox environment (only the sandbox login credentials worked).
On the other hand I wanted to create an emulator from the following source:
Installation works fine, but when I press "add account" - Clover, there is an error message: "Unfortunately, Clover has stopped".
1) Can anyone confirm that third-party apps can be installed using the developer account and not the sandbox account?
2) What could be the reason for the installation error? (other sandbox apks did also work...)
3) Would it also be an option to change the target environment? (I am not sure what difference there is between the download sites). Then how can I run this file (https://github.com/clover/clover-andr...newenvironment)? It does not work on Android Studio (targetnewenvironment: command not found)
Thanks a lot for any help!
Edit1: The only installation files that work on my emulator are 1100/1809 downloaded from sandbox.dev.clover.com. The bit.ly link provided in your link does not provide apks that work for me (I experienced several crashes - connectionhistory, metrics, launcher etc.). The problem with 1100/1809 is that - as mentioned above - it is not possible to install third-party apps. So by using the targetnewenvironment script (I did not use the right command above as I am a Linux newbie :-) ) I can change to prod_us, but then I get an error ("Clover has stopped") if I want to add the Clover account. I also tried the commands you stated above in Android Studio:
user@host:~/git/clover-android-sdk/scripts$ adb shell sqlite3 -header -line /data/data/com.android.providers.settings/databases/settings.db "UPDATE secure SET value='produs' where name like 'clovertarget'";
root@generic_x86:/ # pm clear com.clover.engine WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix. Success
However, it did not change anything. Any other suggestions?