The following step was necessary for me when I recently had to auto instrument a mobile app:
Had to specify parameter cpwrUEM_startup.sApplId (v. 6.3 or DTXApplicationID in v.6.5 which is commented by default) in the properties file to a name that match an application name created in a system profile with uem activated. To create the application name run the app with a device/emulator, wait like 5 minutes, and then go to the application section in the system profile and look if there is something in the "Applications defined by ADK". Try those names.
Also, I specified the cpwrUEM_logging.level=debug, which shows diagnostic messages when running the instrument.[sh|cmd] script and when running the app. This debug option is very useful when running the app inside an emulator, for example Android studio emulator, because you can see lots of messages with the command: adb logcat (look for lines with string uem). For example, I had an error with the cpwrUEM_startup.agentPath parameter because the character "/" was at the end (something like http://xxx.xxx.xxx/, which is wrong).
So, after you modify the properties file, rerun the scrpt, install the apk and try again.
Answer by Babar Q. ·
Application ID is basically the exact name of your mobile application. Below are the basic settings for the instrumentation.
Answer by Mohit N. ·
Dear @Babar Q:
After instrumentation which apk we have to store on google play .signed or Final?
Also if my Profile name is Mobile in App Mon then what will be the DTXapplication ID.
as when client is uploading the instrumented App(Final one from dist folder).
it through the above error as attached.
Also find the snapshot of files/Folder.
Please help me in resolving this issue as Client wants to upload it today .
Answer by Mohit N. ·
Please suggest :
First I downloaded apk then , intrumented with 6.5.22 ADK
in instrument properties file i added the url and gps location set true.
what to add in Application ID?
after instrumentation from dist folder i took final apk and uploaded it on google but finger key error is coming. Please help .
Also attached all the files for your ref.
Also let me know is their any thing to add in System Profile--> Application defined by ADK.
also suggest the steps if possible ,,..as we have to upload the app in Google play apk-upload-issue.png
Please help in finding my Mistakes.