Просмотр исходного кода

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

António Goulão 4 лет назад
Родитель
Сommit
6c8b8fc4b1
No account linked to committer's email address
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';