Where are the Instrumentation Wizard logs stored?

Ranorex Spy, Recorder, and Studio.
jhorton
Posts: 8
Joined: Tue Aug 17, 2010 10:11 pm

Where are the Instrumentation Wizard logs stored?

Post by jhorton » Wed Apr 17, 2013 8:08 pm

Where are the Instrumentation Wizard logs stored? I'm trying to instrument an android apk and I'm getting the error at the end of the process that says that either my app is obfuscated or that I'm not using api level 8 or above. My app was compiled using debug and i'm using api level 15.

I would like to look in the actual log of what the Instrumentation Wizard is doing to see if I can see what the issue might be. Any ideas?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Where are the Instrumentation Wizard logs stored?

Post by Support Team » Fri Apr 19, 2013 8:40 am

Hello,

Do you use special characters (e.g. %) in your APK?
Please take a look at this post in our forum.

You could try to instrument your APK manually as described in this User Guide.

Currently, there is no log file but will be available in a future release.
Is it possible to send us your APK ([email protected]) in order to analyze it?

Thank you in advance.

Regards,
Markus (T)
.
Image

Behi
Posts: 2
Joined: Tue Nov 12, 2013 2:26 pm

Re: Where are the Instrumentation Wizard logs stored?

Post by Behi » Wed Feb 05, 2014 6:25 pm

It would be nice if they were any logs, i am getting instrumentation errors [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] but since there is no line where Manifest.xml is flawed, i cannot find the problem.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Where are the Instrumentation Wizard logs stored?

Post by Support Team » Mon Feb 10, 2014 6:03 pm

Hi Behi,

Can you please give us more information about your issue? When do you get the error?

Regards,
Bernhard
.
Image

Behi
Posts: 2
Joined: Tue Nov 12, 2013 2:26 pm

Re: Where are the Instrumentation Wizard logs stored?

Post by Behi » Tue Feb 11, 2014 11:50 am

Hello Bernhard,

it is during automatic instrumentation. The last step is Deploying to USB:
System.Exception: Failed to deploy the application via USB. pkg: /data/local/tmp/STARmoney-instrumented.apk

Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]


3730 KB/s (12271186 bytes in 3.212s)

bei Ranorex.Plugin.Mobile.DeploymentService.UsbDeploymentService.CheckForErrorsThatDoNotResultInErrorCode(ProcessRunner runner)
bei Ranorex.Controls.Instrumentation.Workers.AndroidWorker.Run()
bei Ranorex.Controls.AndroidInstrumentProgressPage.bgw_DoWork(Object sender, DoWorkEventArgs e)

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Where are the Instrumentation Wizard logs stored?

Post by Support Team » Tue Feb 11, 2014 5:37 pm

Hello Behi,

Thank you for the information.
Which version of Ranorex are you using?
Is it possible to send the *.apk file to [email protected] in order to analyze the issue in more detail?
Did you already try to instrument the application via source code as described in the section "Instrumentation with Source Code" in our user guide?

Regards,
Bernhard
.
Image