I would like to start a little test with Ranorex 5.2. Unfortunately I can not start because Instrumentation failed.
For entirely information:
The “apktool.jar” and “apktool.bat” files are available in the next map: C:\Program Files (x86)\Ranorex 5.2\Bin\RxEnv\Android\tools\apkTool\
Also I'm running the Instrumentation Wizard with Administrator privileges.
For more information see attached print screen.
Thank you very much for help.
Best Regards,
Kamal Gasimov
Instrumentation failed - Instrumentation Wizard
Instrumentation failed - Instrumentation Wizard
You do not have the required permissions to view the files attached to this post.
Last edited by kgasimov on Mon Nov 24, 2014 9:38 am, edited 1 time in total.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Instrumentation failed - Instrumentation Wizard
Hello Kamal,
Unfortunately, it seems like attaching your error log didn't work. May I ask you to upload the file again?
Thanks,
Robert
Unfortunately, it seems like attaching your error log didn't work. May I ask you to upload the file again?
Thanks,
Robert
Re: Instrumentation failed - Instrumentation Wizard
Hello Robert,Support Team wrote:Hello Kamal,
Unfortunately, it seems like attaching your error log didn't work. May I ask you to upload the file again?
Thanks,
Robert
This is a error log:
'System.Exception: Failed to recompile the instrumented code. See details for more information: Exception in thread "main" java.nio.file.FileSystemNotFoundException: C:\Users\kgasimov\AppData\Local\RanorexStudio5\RxEnv\Android\temp\File name_v8.1%5B2%5D.instrumented.apk
at com.sun.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:120)
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117)
at java.nio.file.FileSystems.newFileSystem(Unknown Source)
at java.nio.file.FileSystems.newFileSystem(Unknown Source)
at brut.androlib.Androlib.insertFolder(Androlib.java:599)
at brut.androlib.Androlib.buildUnknownFiles(Androlib.java:566)
at brut.androlib.Androlib.build(Androlib.java:294)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
at Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.CompileApkFile(String sourceApkFilePath, IPathService pathService)
at Ranorex.Plugin.Mobile.Utils.BackgroundWorkerSupported.ExecuteBgwCode[TArg0,TArg1](BgwDelegate`2 methodDelegate, Int32 doneProgress, String progressText, TArg0 arg0, TArg1 arg1, 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)"
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Instrumentation failed - Instrumentation Wizard
Hello kgasimov,
Thank you for providing the error log.
Is it possible for you to provide the APK file of your app as well? If yes, please send it to [email protected].
This would really help us in analyzing your issue in more detail.
Regards,
Robert
Thank you for providing the error log.
Is it possible for you to provide the APK file of your app as well? If yes, please send it to [email protected].
This would really help us in analyzing your issue in more detail.
Regards,
Robert
Re: Instrumentation failed - Instrumentation Wizard
Hello Robert,
Unfortunately I can/may not send *.apk file. Because there sensitive business information.
I would like to know, I have to do something special with *.apk file. Because, it still runs on a tablet where OS is Android.
Regards,
Kamal
Unfortunately I can/may not send *.apk file. Because there sensitive business information.
I would like to know, I have to do something special with *.apk file. Because, it still runs on a tablet where OS is Android.
Regards,
Kamal
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Instrumentation failed - Instrumentation Wizard
Hello kgasimov,
Maybe the name of your APK-file is causing the issue. Please rename the APK file to "Test.apk" before instrumenting it.
Regards,
Robert
Maybe the name of your APK-file is causing the issue. Please rename the APK file to "Test.apk" before instrumenting it.
Regards,
Robert
Re: Instrumentation failed - Instrumentation Wizard
Hello Robert,
Unfortunately, the changing of filename is not solution of issue. I have just same problem with compile.
Unfortunately, the changing of filename is not solution of issue. I have just same problem with compile.
Support Team wrote:Hello kgasimov,
Maybe the name of your APK-file is causing the issue. Please rename the APK file to "Test.apk" before instrumenting it.
Regards,
Robert
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Instrumentation failed - Instrumentation Wizard
Hello kgasimov,
That's a pity.
I’m afraid that we can’t analyze the issue in more detail without the APK file. That aside, you could update to our latest version 5.2.1 and check whether it’s working.
Thank you for your understanding.
Regards,
Robert
That's a pity.
I’m afraid that we can’t analyze the issue in more detail without the APK file. That aside, you could update to our latest version 5.2.1 and check whether it’s working.
Thank you for your understanding.
Regards,
Robert