Closed joaoalbertocsjunior closed 6 years ago
Not sure @joaoalbertocsjunior, There are multiple solutions we can try:
Android SDK 23 not install 9695
OR try this 10367
cd android && gradlew clean
cd .. && react-native run-android
If above solution does not work, we can remove the library then build again to verify is it because of library or some other issue
Thanks Pranav
I will try and i will bring the results. Thank you again @prscX !
What i've learned so far:
I already have Android SDK 23.
gradlew clean does not work.
Im using a physical device with api 22. This might be the reason i'am facing this issue?
Not sure @joaoalbertocsjunior, is your app open source? if yes, I can download your project and try to build the same on my end.
Thanks Pranav
This happens on a fresh created RN app. Already tried to re-create the project 3 times, but everytime when i yarn add react-native-spruce and react-native link, i get the same error.
I'm really thinking this might be caused due to my physical device being API 22, not 23. If i can test on an API >= 23 device, or if someone try to reproduce it on an API <= 22 device, we might find issue cause.
I will also check from my end, meantime can you please download API >= 23 device and verify the same.
Thanks Pranav
Installing build tools >= 24 solved the issue. Material was introduced in API 24.
Thanks @joaoalbertocsjunior for verifying the same. I will specify the same in README.
Let me know in case you face any issues
Thanks Pranav
Hi @joaoalbertocsjunior, Can I close the raised issue?
Thanks Pranav
Hi @joaoalbertocsjunior, Closing this issue for now. Let me know in case you face any issues.
Thanks Pranav
I've managed to react-native link by re-creating the project.
Now, when i try to react-native run-android the application, build fails.
Here is the error:
I have done something wrong? Why this is saying there is missing resource files?