浏览代码

chore(docs): Update Android assets path (#1173)

António Goulão 4 年前
父节点
当前提交
6c8b8fc4b1
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      docs/Guide.md

+ 1
- 1
docs/Guide.md 查看文件

@@ -74,7 +74,7 @@ class MyWeb extends Component {
74 74
 }
75 75
 ```
76 76
 
77
-However on Android, you need to place the HTML file inside your android project's asset directory. For example, if `local-site.html` is your HTML file and you'd like to load it into the webview, you should move the file to your project's android asset directory which is `your-project/android/src/main/assets/`. Then you can load the html file as shown in the following code block
77
+However on Android, you need to place the HTML file inside your android project's asset directory. For example, if `local-site.html` is your HTML file and you'd like to load it into the webview, you should move the file to your project's android asset directory which is `your-project/android/app/src/main/assets/`. Then you can load the html file as shown in the following code block
78 78
 
79 79
 ```js
80 80
 import React, { Component } from 'react';