# Issue while building Android APK with React

**URL:** https://discuss.bitrise.io/t/issue-while-building-android-apk-with-react/4683
**Category:** Builds
**Tags:** react-native, android, react
**Created:** [April 2, 2018, 4:36am UTC](https://discuss.bitrise.io/t/issue-while-building-android-apk-with-react/4683 "2018-04-02T04:36:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![perceptee](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@perceptee](https://discuss.bitrise.io/u/perceptee)
#### Post date: [April 2, 2018, 4:36am UTC](https://discuss.bitrise.io/t/issue-while-building-android-apk-with-react/4683/1 "2018-04-02T04:36:40Z")

</div>

Not able to build Android APK with React.

I have a React Native project, now trying to build it in Bitrise. I had successfully made build in IOS but for some reason it fails to make Android APK.

Everytime when I build the project issue happens.  
Step: React Native Bundle V 1.0.3

In Local environment, both Android and Ios works perfectly.

## Build log

[https://www.bitrise.io/api/build/9af33ef4d4f630ce/logs.json?&download=log](https://www.bitrise.io/api/build/9af33ef4d4f630ce/logs.json?&download=log)

---

<div class="post-metadata">

### Author: ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)
#### Post date: [April 5, 2018, 2:57pm UTC](https://discuss.bitrise.io/t/issue-while-building-android-apk-with-react/4683/2 "2018-04-05T14:57:46Z")

</div>

Hi @perceptee,

The error from the log:

```auto
Unable to resolve module `react` from `/Users/vagrant/git/index.js`: Module does not exist in the module map

```

Based on [https://github.com/facebook/react-native/issues/8702#issuecomment-241068234](https://github.com/facebook/react-native/issues/8702#issuecomment-241068234)

Can you please run this on your Mac (in the project’s directory of course):

```auto
npm i --save react

```

and commit the changes into the repository?
