When I run my android project I get the error, launch_screen.png exists in the relevant folder.
How can I fix the error?
\androidapp\src\main\res\layout\launch_screen.xml:5: AAPT: error: resource drawable/launch_screen.png (aka com.rg.tc:drawable/launch_screen.png) not found.
React Native Environment Info:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Memory: 1.31 GB / 7.86 GB
Binaries:
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.5.0.0 AI-191.8026.42.35.5791312
"react-native-splash-screen": "^3.2.0",
Try change to @drawable/launch_screen (without the file extension) see if that helps
@vinstah You solution worked for me (Y)
@vinstah Thanks man it's work :)
Most helpful comment
Try change to @drawable/launch_screen (without the file extension) see if that helps