Error: Program type already present: org.openqa.selenium.WebDriver$ImeHandler

后端 未结 1 1230
面向向阳花
面向向阳花 2021-01-03 10:33

I\'m trying to set up Appium with Android Studio and encounter loads of errors. I\'m using the open source app Omni-Notes and if I include the necessary dependencies via the

相关标签:
1条回答
  • 2021-01-03 11:23

    When I add the "Appium Jar files for Java" plugin (java-client-7.0.0.jar) I checked that it already contains the classes contained in the "Latest Appium Client Library" (selenium-java-3.141.59) as described in some tutorials on the internet.

    To solve the problem do:

    1. Delete the java-client-7.0.0.jar file from your project

    2. Open java-client-7.0.0.jar with 7zip and delete the "org /" folder and all subfolders.

    3. Include the updated java-client-7.0.0.jar in your project. Rebuild project

    0 讨论(0)
提交回复
热议问题