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

**URL:** <https://discuss.appium.io/t/error-program-type-already-present-org-openqa-selenium-webdriver-imehandler/22396>\
**Category:** Support\
**Created:** [June 11, 2018, 10:31am UTC](https://discuss.appium.io/t/error-program-type-already-present-org-openqa-selenium-webdriver-imehandler/22396 "2018-06-11T10:31:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sushantchoudhary](https://discuss.appium.io/user_avatar/discuss.appium.io/sushantchoudhary/32/4527_2.png) [@sushantchoudhary](https://discuss.appium.io/u/sushantchoudhary)\
**Post date:** [June 11, 2018, 10:31am UTC](https://discuss.appium.io/t/error-program-type-already-present-org-openqa-selenium-webdriver-imehandler/22396/1 "2018-06-11T10:31:38Z")

</div>

Could someone provide some help with answering this question here, [https://stackoverflow.com/questions/50795917/agpbi-kinderror-textprogram-type-already-present-org-openqa-selenium](https://stackoverflow.com/questions/50795917/agpbi-kinderror-textprogram-type-already-present-org-openqa-selenium)

---

<div class="post-metadata">

**Author:** ![sushantchoudhary](https://discuss.appium.io/user_avatar/discuss.appium.io/sushantchoudhary/32/4527_2.png) [@sushantchoudhary](https://discuss.appium.io/u/sushantchoudhary)\
**Post date:** [June 11, 2018, 10:32am UTC](https://discuss.appium.io/t/error-program-type-already-present-org-openqa-selenium-webdriver-imehandler/22396/2 "2018-06-11T10:32:40Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Svetlana\_Demciucova](https://discuss.appium.io/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@Svetlana\_Demciucova](https://discuss.appium.io/u/Svetlana_Demciucova)\
**Post date:** [December 18, 2018, 9:35am UTC](https://discuss.appium.io/t/error-program-type-already-present-org-openqa-selenium-webdriver-imehandler/22396/3 "2018-12-18T09:35:47Z")

</div>

Hi, did you solve your problem?  
I have the same one and I cant solve it…
