浏览代码

Update README.md

wkh237 8 年前
父节点
当前提交
c93bcb37e7
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      README.md

+ 3
- 3
README.md 查看文件

47
 rnpm link
47
 rnpm link
48
 ```
48
 ```
49
 
49
 
50
-### For React Native >= 0.29.0 (Android)
50
+### Manually link package
51
 
51
 
52
-> If you're using react-native >= `0.29.0`, the package might not be able to link through `rnpm link`, and you might see an error screen similar to [#51](https://github.com/wkh237/react-native-fetch-blob/issues/51), this is because [a bug in 0.29.0](https://github.com/facebook/react-native/commit/4dabb575b1b311ba541fae7eabbd49f08b5391b3), someone has already fixed it, but the solution does not work on our project, you may have to manually add the package yourself.
52
+If rnpm link command failed to link the package automatically, you might try manually link the package.
53
 
53
 
54
 Edit add package to`android/settings.gradle`
54
 Edit add package to`android/settings.gradle`
55
 
55
 
56
 ```diff
56
 ```diff
57
 include ':app'      
57
 include ':app'      
58
-+ include ':react-native-fetch-blob'                                                         
58
++ include ':react-native-fetch-blob'                                                                                                  
59
 + project(':react-native-fetch-blob').projectDir = new File(rootProject.projectDir,' ../node_modules/react-native-fetch-blob/android')                        
59
 + project(':react-native-fetch-blob').projectDir = new File(rootProject.projectDir,' ../node_modules/react-native-fetch-blob/android')                        
60
 ```
60
 ```
61
 
61