دنبال کننده ها

۱۳۹۶ دی ۱۳, چهارشنبه

react-native link can't find my MainApplication.java file

[ad_1]



Every time I try to react-native link a new library, I get the same error message. Here it is for react-native-video.



rnpm-install info Linking react-native-video android dependency
rnpm-install ERR! Something went wrong while linking. Error: ENOENT: no such file or directory, open '/Users/Me/Projects/myProject/android/app/src/main/java/com/companyName/appName/MainApplication.java'
Please file an issue here: https://github.com/facebook/react-native/issues



The actual location of my MainApplication.java file is



./android/app/src/main/java/com/appName/MainApplication.java


The difference is that React Native Link is including "company name" in the path, which doesn't match my project.



How can I fix this?




[ad_2]

لینک منبع