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.
You do not have the required permissions to view the files attached to this post.
Regrads,
Nishant Singh

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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

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: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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

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