bamlab / react-native-make

A collection of everyday React Native CLI tools
MIT License
761 stars 87 forks source link

resource style/SplashScreen_SplashTheme not found #30

Closed JohnBerd closed 4 years ago

JohnBerd commented 4 years ago

Thanks for this great module. I used it to install the app Icon and it worked like a charm.

When I type this command: react-native set-splash --path ~/Documents/icon.png --resize center --background "#b2eaff" and then: react-native run-android

The project fail to compile with that error:

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
  error: resource style/SplashScreen_SplashTheme (aka com.sally:style/SplashScreen_SplashTheme) not found.
  error: failed linking references.
JohnBerd commented 4 years ago

My bad, react-native-splash-screen wasn't installed

JohnBerd commented 4 years ago

By installing react-native-splash-screen

Le dim. 12 avr. 2020 à 09:01, YongSeok notifications@github.com a écrit :

How did you solve it

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/bamlab/react-native-make/issues/30#issuecomment-612573583, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHOMDKP7LTCQ3ZOLW6KYTD3RMFRLTANCNFSM4LIP5ZGA .

julitroalves commented 4 years ago

LOL, same issue here and installing react-native-splash-screen resolved my problem. I'm tired this is the issue. hahahahhahahhahahahhahahha