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.
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.
Application ID is basically the exact name of your mobile application. Below are the basic settings for the instrumentation.
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 .
Profile name can be anything but in the DTXapplication ID use the actual mobile application name.
If you want to use the certificate then Sign the instrumented APK
<pathToYourApk>/<nameOfAPK>/dist/<nameOfAPK>.apk with your debug or Google playstore certificate, or use the
<pathToYourApk>/<nameOfAPK>/dist/<nameOfAPK>-final.apk APK, which is signed with the auto-instrumentor debug certificate.
Did you re-instrumented the application the way I mentioned in my first comments and then try?