Reputation: 18803
When i run react-native link
give this error
Something went wrong while linking.
Error: ENOENT: no such file or directory, open 'D:\ ...{MY_APP_NAME}\android \app\src\main\java\com{MY_APP_NAME}\android\MainApplication.java'
Upvotes: 1
Views: 1199
Reputation: 484
The application is expecting a file at
D:\ ...{MY_APP_NAME}\android \app\src\main\java\com{MY_APP_NAME}\android\MainApplication.java
but that file does not exist (which is what ENOENT means). So you either haver to create the expected directory structure or else configure your application such that it looks in the correct directory.
Upvotes: 5