Error Install Apk in Emulator with command line Ranorex.Instrumentation

Mobile Testing, Android App Testing.
LittleTab
Posts: 2
Joined: Wed Dec 12, 2018 11:34 am

Error Install Apk in Emulator with command line Ranorex.Instrumentation

Post by LittleTab » Wed Dec 12, 2018 11:42 am

Hi Everybody,

I try to install an apk in emulator with this command line : Ranorex.Instrumentation.exe

I've execute with cmd (as Admin) :
=> call "C:\Program Files (x86)\Ranorex 8.1\Bin\Ranorex.Instrumentation.exe" /p:"android" /d:"emulator-5554" /a:"C:\xxxx.apk"

But I've got the following error "Device 'emulator-5554' couldn't be found. Please use the devices dialog to configure your devices."

In my Ranorex, my emulator "emulator-5554" is well connected, and when on cmd I tape "adb devices" I see "emulator-5554".

Any ideas ?

Thanks for your help !

LittleTab
Posts: 2
Joined: Wed Dec 12, 2018 11:34 am

Re: Error Install Apk in Emulator with command line Ranorex.Instrumentation

Post by LittleTab » Wed Dec 26, 2018 2:17 pm

Hello,

I've found the solution. I was blocked cause of firewall.