Instrumentation of apk file Failed

Ask general questions here.
NishantSingh
Posts: 39
Joined: Thu Oct 09, 2014 1:15 pm
Location: Bangalore

Instrumentation of apk file Failed

Post by NishantSingh » Sat Jan 17, 2015 6:32 am

Hi,

I am using Ranorex studio 5.2.0 and Windows 7 OS, and using Amazon India shopping app version 5.2.0 apk

when I Instrumenting the file getting error.

and Error detail is

System.NullReferenceException: Object reference not set to an instance of an object.
at Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.ResolveInheritanceDependencies(DecompileInfo dcInfo, IPathService pathService)
at Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.InstrumentCode(DecompileInfo dcInfo, Int32 port, IPathService pathService)
at Ranorex.Plugin.Mobile.Utils.BackgroundWorkerSupported.ExecuteBgwCode[TArg0,TArg1,TArg2](BgwDelegate`3 methodDelegate, Int32 doneProgress, String progressText, TArg0 arg0, TArg1 arg1, TArg2 arg2, BackgroundWorker bgw)
at Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.Instrument(String apkFilePath, Int32 port, InstrumentApkOptions deployOptions, BackgroundWorker bgw)
at Ranorex.Controls.Instrumentation.Workers.AndroidWorker.Run()
at Ranorex.Controls.AndroidInstrumentProgressPage.bgw_DoWork(Object sender, DoWorkEventArgs e)


please help me out.
Attachments
Instrumentation failed.jpg
Instrumentation failed.jpg (220.42 KiB) Viewed 679 times
Regrads,
Nishant Singh

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

Re: Instrumentation of apk file Failed

Post by Support Team » Mon Jan 19, 2015 1:10 pm

Hello Nishant,

May I ask you to send the mentioned APK file to [email protected]. This would allow us to analyze the issue in more detail.

Regards,
Robert
.
Image

NishantSingh
Posts: 39
Joined: Thu Oct 09, 2014 1:15 pm
Location: Bangalore

Re: Instrumentation of apk file Failed

Post by NishantSingh » Wed Jan 21, 2015 7:22 pm

Hi Robert,

Thanks for the response..
but I am not able to attach the file here as its size is 23MB and here limit is 5MB

Regards,
Nishant Singh
Regrads,
Nishant Singh

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

Re: Instrumentation of apk file Failed

Post by Support Team » Thu Jan 22, 2015 2:18 pm

Hello Nishant,

Please contact [email protected] in order to arrange a file exchange.

Regards,
Robert
.
Image

Aster
Posts: 5
Joined: Fri Jan 23, 2015 9:15 am

Re: Instrumentation of apk file Failed

Post by Aster » Wed Jan 28, 2015 5:52 am

Hi Nishant,

I had similar problem with testing my Android phone on Ranorex 5.2.

I sent my application apk file to [email protected] and they had given instrumented code which is working fine on the device now.

BR,
Aster