Description
I encapsulated java-client in a jar, and the following error occurred when I referenced the jar in my project
Error: Program type already present: org.openqa.selenium.SearchContext
I find where the SearchContext is defined:
They have the same package name and class name, so there is a conflict
Environment
implementation 'io.appium:java-client:7.0.0'
demand
how to fix this?
Description
I encapsulated java-client in a jar, and the following error occurred when I referenced the jar in my project
I find where the SearchContext is defined:
They have the same package name and class name, so there is a conflict
Environment
java client build version @7.0.0
app/build.gradle
demand
how to fix this?