Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node_modules_reactnativerouterflux_node_modules_reactnavigationstack_dist_views_assets_backiconmask.png: error: Invalid filename. Unable to add. #3264

Closed
js1121302139 opened this issue Sep 13, 2018 · 2 comments

Comments

@js1121302139
Copy link

"react": "16.4.0",
"react-native": "0.55.4",
"react-native-router-flux": "^4.0.1",

android/app/build/intermediates/res/merged/release/drawable-mdpi/node_modules_reactnativerouterflux_node_modules_reactnavigationstack_dist_views_assets_backiconmask.png: error: Invalid filename. Unable to add.

@js1121302139
Copy link
Author

Solution:
node_modules->react-native-router-flux->node_modules->react-navigation-stack->dist->views->assets->backiconmask.png find backiconmask.png delete, to node_modules->react-native-router-flux->node_modules->react-navigation-stack->dist->views->assets->Header->Header.js change line 334 <Image source={require('../assets/back-icon.png')} style={styles.iconMask} />

@daviscabral
Copy link
Collaborator

Hi @js1121302139 - glad you found a workaround to this issue. Even happier that you not just found it and come back and wrote it down here and in other issue where other user was having the same problem.

This was a known issue with react-native and gradle and it seems that is fixed with [email protected] as seen here: facebook/react-native#16906.

Repository owner locked as off-topic and limited conversation to collaborators Sep 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants