Minor doc improvements in Debugging.md
Summary: As per: https://github.com/facebook/react-native/pull/9276#issuecomment-238153756 Minor clarity and styling improvements for Debugging.md for the "Stetho" section No test changes required. Closes https://github.com/facebook/react-native/pull/9303 Differential Revision: D3690557 Pulled By: hramos fbshipit-source-id: f5ce13d96884f1c11836b278697d2815f40c5216
This commit is contained in:
parent
a5678983bb
commit
e2aa237cfe
|
@ -94,14 +94,14 @@ The debugger will receive a list of all project roots, separated by a space. For
|
||||||
|
|
||||||
### Debugging with [Stetho](http://facebook.github.io/stetho/) on Android
|
### Debugging with [Stetho](http://facebook.github.io/stetho/) on Android
|
||||||
|
|
||||||
1. In ```android/app/build.gradle``` , add
|
1. In ```android/app/build.gradle```, add these lines in the `dependencies` section:
|
||||||
|
|
||||||
```gradle
|
```gradle
|
||||||
compile 'com.facebook.stetho:stetho:1.3.1'
|
compile 'com.facebook.stetho:stetho:1.3.1'
|
||||||
compile 'com.facebook.stetho:stetho-okhttp3:1.3.1'
|
compile 'com.facebook.stetho:stetho-okhttp3:1.3.1'
|
||||||
```
|
```
|
||||||
|
|
||||||
2. In ```android/app/src/main/java/com/{yourAppName}/MainApplication.java```, add the following imports :
|
2. In ```android/app/src/main/java/com/{yourAppName}/MainApplication.java```, add the following imports:
|
||||||
|
|
||||||
```java
|
```java
|
||||||
import com.facebook.react.modules.network.ReactCookieJarContainer;
|
import com.facebook.react.modules.network.ReactCookieJarContainer;
|
||||||
|
|
Loading…
Reference in New Issue