# Elasticsearch-rest-high-level-client:6.2.2 will not run

**URL:** https://discuss.elastic.co/t/elasticsearch-rest-high-level-client-6-2-2-will-not-run/121556
**Category:** Elasticsearch
**Created:** [February 26, 2018, 7:44pm UTC](https://discuss.elastic.co/t/elasticsearch-rest-high-level-client-6-2-2-will-not-run/121556 "2018-02-26T19:44:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Michael\_Tang](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@Michael\_Tang](https://discuss.elastic.co/u/Michael_Tang)
#### Post date: [February 26, 2018, 7:44pm UTC](https://discuss.elastic.co/t/elasticsearch-rest-high-level-client-6-2-2-will-not-run/121556/1 "2018-02-26T19:44:42Z")

</div>

Hi I am trying to use elasticsearch in Android Studio and it's throwing TransformException on this dependency. I have the .jar file in my cache. I can even unzip it and look at the files.

The exact error is  
com.android.build.api.transform.TransformException:  
com.android.builder.dexing.DexArchiveBuilderException:  
com.android.builder.dexing.DexArchiveBuilderException: elasticsearch..........6.2.2.jar

Can anyone point me in the right direction on how to solve this??

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 26, 2018, 7:44pm UTC](https://discuss.elastic.co/t/elasticsearch-rest-high-level-client-6-2-2-will-not-run/121556/2 "2018-03-26T19:44:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
