To Fix AAPT: error: resource android:attr/lStar not found in Android Error just Update your package with yarn. Here the problem is because of @react-native-community/netinfo. So you have to just update your package with yarn so you have to run this command to solve your error. So try this: yarn add @react-native-community/netinfo