I was able to succesfully build and export the Android app in Eclipse after entering the server IP address in the CommonUtilities.java file.
This apk is downloaded, installed and run on the mobile android device with success. But now when I enter all necessary data for first registration of the app and choose 'Register', I get a message saying : 'Authentication failed due to a conenction failure do you want to try again?'
Any idea what I might be doing wrong?
Can you replace your ServerUtilities.java with our latest version ? And test it with HTTP and if it works, then try with HTTPs also. In case the HTTP works and HTTP not, then you have to check your BKS and put a valid BKS there.
This message is displayed when there is a connection failure or the server SSL certificate is not trusted. Connection between the Android agent app and the EMM server is through https and if you are using a self signed certificate then you need to put it in the Agent project in Eclipse and export the Android app. Please refer the Android Client Configuration to create the BKS and add it to your android project.
Similar question was asked in Github of MDM-Android-Agent
Android expects your keystore to be in Bouncy Castle (BKS) format. In the docs it has linked to a iOS keystore generation code in OpenSSL since this phase also needs to be done inorder to configure the EMM. If you are only configuring the Android make sure the keystore file is in BKS format. One way to do is to generate a JKS file by following the commands in the documentation using OpenSSL and convert it to BKS format. You may use Portecle for this.