Could someone provide some help with answering this question here, https://stackoverflow.com/questions/50795917/agpbi-kinderror-textprogram-type-already-present-org-openqa-selenium
I am trying to setup Appium for my gradle based Android project but same error as above, canât find any workaround.These are the dependencies I have added to app/build.gradle,
compile (group: âio.appiumâ, name: âjava-clientâ, version: â6.0.0â)
{exclude group: âorg.ow2.asmâ}
compile group: âcom.android.support.test.uiautomatorâ, name: âuiautomator-v18â, version: â2.1.3â
Running assembleDebug results in this error,
AGPBI: {âkindâ:âerrorâ,âtextâ:âProgram type already present: org.openqa.selenium.WebDriver$ImeHandlerâ,âsourcesâ:[{}],âtoolâ:âD8â}
Some SO post suggest there is a conflict in gradle dependencies, I tried excluding a few based on the result of
/gradlew -q dependencies mobile:dependencies --configuration compile
but no avail . Any hints would be appreciated.
Hi, did you solve your problem?
I have the same one and I cant solve itâŚ