Skip to content

Commit

Permalink
Make Android guide more future rnpm-friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrevik committed Mar 20, 2016
1 parent aa9d4cb commit 4287d9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ Consult [this guide](https://developer.android.com/sdk/installing/adding-package

```gradle
...
include ':GoogleAnalyticsBridge', ':app'
project(':GoogleAnalyticsBridge').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-google-analytics-bridge/android')
include ':react-native-google-analytics-bridge', ':app'
project(':react-native-google-analytics-bridge').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-google-analytics-bridge/android')
```

3. And the following in `android/app/build.gradle`
Expand All @@ -65,7 +65,7 @@ Consult [this guide](https://developer.android.com/sdk/installing/adding-package
...
dependencies {
...
compile project(':GoogleAnalyticsBridge')
compile project(':react-native-google-analytics-bridge')
}
```

Expand Down

0 comments on commit 4287d9f

Please sign in to comment.