# How to fix Android building fails on React Native?


Building in Android bundle throws this compiler error blow:

Are you not sure how to fix ?

```
/Users/home/Desktop/APLIKACE/test/node_modules
/@react-native-community/async-storage/android/src/main/java/com/
reactnativecommunity/asyncstorage/AsyncStorageModule.java:
uses or overrides a deprecated API.
Recompile with -Xlint:deprecation for details.
```

```
Delete node_modules :
rn -rf node_modules
then:
run npm install or yarn
run npx jetify

```

Do you still have the issue?


Source: https://github.com/react-native-async-storage/async-storage/issues/223
