# Using Open-vidu Maven for android studio and I get error

**URL:** <https://openvidu.discourse.group/t/using-open-vidu-maven-for-android-studio-and-i-get-error/2185>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [October 20, 2020, 5:59am UTC](https://openvidu.discourse.group/t/using-open-vidu-maven-for-android-studio-and-i-get-error/2185 "2020-10-20T05:59:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijayehclassplus](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/vijayehclassplus/32/1067_2.png) [@vijayehclassplus](https://openvidu.discourse.group/u/vijayehclassplus)\
**Post date:** [October 20, 2020, 5:59am UTC](https://openvidu.discourse.group/t/using-open-vidu-maven-for-android-studio-and-i-get-error/2185/1 "2020-10-20T05:59:17Z")

</div>

Hello there! I’m trying to implement open-vidu java client to android app. I have implemented the dependencies as well. However there is one dependency that is not possible to implement because android has stopped supporting \* [org.apache.httpcomponents:httpclient].  
There is no error when I compile. However, calling  
`val openVidu = OpenVidu(Constants.LIVE_URL, Constants.LIVE_SECRET_KEY)`  
always gives error.  
I have attached screenshot for your reference.

 ![Screenshot 2020-10-19 185505](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/e/e4e70fb1b9cd1d4b11a58b443679551f67486e58.png)

Please look into this. I haven’t found any solution yet. Searching from past 2 days. In official github android project provided by open-vidu doesn’t show this [https://search.maven.org/artifact/io.openvidu/openvidu-java-client/2.15.1/jar](https://search.maven.org/artifact/io.openvidu/openvidu-java-client/2.15.1/jar) Implementation.

Thanks in Advance

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [October 20, 2020, 8:38am UTC](https://openvidu.discourse.group/t/using-open-vidu-maven-for-android-studio-and-i-get-error/2185/2 "2020-10-20T08:38:24Z")

</div>

OpenVidu Java tutorials ([https://docs.openvidu.io/en/stable/tutorials/openvidu-js-java/](https://docs.openvidu.io/en/stable/tutorials/openvidu-js-java/)) ([https://docs.openvidu.io/en/stable/tutorials/openvidu-mvc-java/](https://docs.openvidu.io/en/stable/tutorials/openvidu-mvc-java/)) are not developed with Android in mind. In fact the Java code is prepared to be executed in a server, not in the client-side. So it is perfectly possible that this kind of errors appear. You should take a look to the real Android tutorial: [https://docs.openvidu.io/en/stable/tutorials/openvidu-android/](https://docs.openvidu.io/en/stable/tutorials/openvidu-android/)
