# Where is the android sdk?

**URL:** <https://discuss.circleci.com/t/where-is-the-android-sdk/14517>\
**Category:** Mobile\
**Tags:** circle-yml, android\
**Created:** [July 19, 2017, 10:12pm UTC](https://discuss.circleci.com/t/where-is-the-android-sdk/14517 "2017-07-19T22:12:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesDaniel](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/jamesdaniel/32/7837_2.png) [@JamesDaniel](https://discuss.circleci.com/u/JamesDaniel)\
**Post date:** [July 19, 2017, 10:12pm UTC](https://discuss.circleci.com/t/where-is-the-android-sdk/14517/1 "2017-07-19T22:12:46Z")

</div>

I am trying to build an android app but I can’t find the android sdk anywhere and sdk commands will not work as if it is not installed.

It should be in /usr/local/android-sdk-linux but its not there. I set a step in the circle.yml to list the contents of /usr/local . This is what it showed:

![](https://global.discourse-cdn.com/circleci/original/3X/a/6/a688c8b72f3acbc3469cc0146793edf0e88c872e.png)

As you can see there is not android-sdk-linux in there. the project settings will only let me choose between two different build environments, ubuntu 12 and 14. Neither have android-sdk-linux. This is kinda driving me nuts.

---

<div class="post-metadata">

**Author:** ![JamesDaniel](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/jamesdaniel/32/7837_2.png) [@JamesDaniel](https://discuss.circleci.com/u/JamesDaniel)\
**Post date:** [July 20, 2017, 10:23pm UTC](https://discuss.circleci.com/t/where-is-the-android-sdk/14517/2 "2017-07-20T22:23:37Z")

</div>

So I fixed my own problem. Turns out I set the project as a gradle project since I will be building it with gradle. If you do this the build container will not include the android sdk. The project type should be “other”.

-------------UPDATE-------------

My solution wasn’t perfect and could not work for my project. I finally found a perfect solution here:  
[https://circleci.com/docs/2.0/language-android/](https://circleci.com/docs/2.0/language-android/)

Just make sure to set the android home as `/opt/android/sdk` . This is the current android sdk home but this may change

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:32am UTC](https://discuss.circleci.com/t/where-is-the-android-sdk/14517/4 "2018-06-18T11:32:39Z")

</div>


