# Error when compiling Android

**URL:** https://meta.discourse.org/t/error-when-compiling-android/122872
**Category:** Development
**Created:** [July 13, 2019, 5:30pm UTC](https://meta.discourse.org/t/error-when-compiling-android/122872 "2019-07-13T17:30:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![whalebeat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/whalebeat/32/148494_2.png) [@whalebeat](https://meta.discourse.org/u/whalebeat)
#### Post date: [July 13, 2019, 5:30pm UTC](https://meta.discourse.org/t/error-when-compiling-android/122872/1 "2019-07-13T17:30:19Z")

</div>

Hi I’m trying to build Android version.  
After downloading from github I followed README file to install yarn, native-react-cli, …  
Everything was OK until I ran “react-native run-android”

Here’s the build logs:  
[android-build-error.txt](https://meta.discourse.org/uploads/short-url/mC89YhWtMtK4Ima6QtVeAT7clVP.txt) (21.2 KB)

Similar errors occurred when I tried to build in Android Studio.  
I’ve googled and tried some methods but they didn’t work.

I’m using Windows 10, JDK 1.8.0\_211, Android Studio 3.4.2.  
Please help me. Do I need to configure something else?  
Thank you!

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [July 13, 2019, 6:15pm UTC](https://meta.discourse.org/t/error-when-compiling-android/122872/2 "2019-07-13T18:15:03Z")

</div>

I would say something is wrong with gradle. Looks like java dependencies are not being pulled.

---

<div class="post-metadata">

### Author: ![whalebeat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/whalebeat/32/148494_2.png) [@whalebeat](https://meta.discourse.org/u/whalebeat)
#### Post date: [July 17, 2019, 4:37pm UTC](https://meta.discourse.org/t/error-when-compiling-android/122872/3 "2019-07-17T16:37:19Z")

</div>

Could you show me how to ensure every dependencies are pulled?  
In the project I only see that yarn is used to manage dependencies, but I’m not familiar with this.  
I’ve tried:

- yarn
- yarn install
- yarn install --force  
but still got build errors as before ☹
