New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "java.io.IOException: Cannot run program "adb": error=2, No such file or directory" #3
Comments
@VinitSandesara to run the tests from eclipse, u need to set the ANDROID_HOME in environment of eclipse. Right Click in Runner.java --> Run Configuration --> Set ANDROID_HOME under environment please refer the screenshot. |
Thanks you so much Sai for your time to replied on my question, Yes, it has resolved the issue. I tried to execute @test method thru "parallel" and "distribute" both works the way it was implemented however for distribute instead of distributing per class can we distribute per @test method
Note : the project i work on we have this requirement to follow, if you can please help Sai, i really appreciated if there is any workaround you can provide me for above. Thanks |
@VinitSandesara so what i understand from your above question is you want all the @test methods from all classes to get distributed across devices ? If Yes, then yeah this feature will be a part of the framework soon.As there is a bug in java_client Please take a look at this issue link below Can you please open a new issue with the above request so that it gets easy to track |
Hi Sai, I have raised new issue with subject "How to distribute all the @test methods from all classes across all connected devices in parallel ?". Thanks |
Even after Setting Android_Home in Eclipse.. Still i am getting same error.. Some one help |
add your full adb path |
|
Hi Sai, Thanks for sharing this awesome parallel execution solution however when i tried to run your project on Mac OS i am getting "java.io.IOException: Cannot run program "adb": error=2, No such file or directory" on "adb" command run thru Java program, can you please provide some solution so i can give it a try and apply this same login in my work project.
Note : When i try to run project thru maven command in terminal i don't get any error but when i try to run it in eclipse for debug purpose i am getting above error.
Thanks
Vinit
The text was updated successfully, but these errors were encountered: