mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Minor doc improvements in Debugging.md (#9276)
Minor clarity and styling improvements for Debugging.md for the "Stetho" section
This commit is contained in:
committed by
James Ide
parent
9864c3a0df
commit
7a32f77f73
+2
-2
@@ -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
|
||||
|
||||
1. In ```android/app/build.gradle``` , add
|
||||
1. In ```android/app/build.gradle```, add these lines in the `dependencies` section:
|
||||
|
||||
```gradle
|
||||
compile 'com.facebook.stetho:stetho: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
|
||||
import com.facebook.react.modules.network.ReactCookieJarContainer;
|
||||
|
||||
Reference in New Issue
Block a user