![]() check this post for the command to create a build. save this file and we have to create build again. Add the following code in adleĪdd the following code below doFirst in path node_modules/react-native/adle. You could find this in the path android/app/src/main/res/drawableģ. Try deleting the drawable folderĪfter creating the bundle delete the drawable folder from Android Studio. In the terminal project root folder, go to the android folder using cd android. Using the following comment to clean the android project./gradlew clean 2. try the following solution and you can able to fix this error 1. So, do not panic after facing this error. You will see the following error in android studio. to solve this error we have to delete duplicate resources files then we have to add some code in node modules react-native Gradle file then create build again and the error will be fixed, so let’s solved it step by step. so basically bundle creation process creates duplicates of drawable files in the project. after creating this bundle you will be able to reproduce this error in Android studio. To create React Native Android build we need to create inside the asset folder. ![]() generally, we face this error while creating a signed apk or production build. Hi Guys, In this article, we are learning about Duplicate resources React Native Android error.
0 Comments
Leave a Reply. |