Fix readme (#45)
* fix install guide * install guide < 0.29.2 * remove android settings.gradle
This commit is contained in:
parent
bf82709719
commit
8bb52ccf8d
13
README.md
13
README.md
|
@ -4,12 +4,23 @@ A React Native module that can create scaled versions of local images (also supp
|
|||
|
||||
## Setup
|
||||
|
||||
Install the package with [rnpm](https://github.com/rnpm/rnpm):
|
||||
Install the package:
|
||||
|
||||
React-Native 0.29.2+
|
||||
|
||||
```
|
||||
npm install --save react-native-image-resizer
|
||||
react-native link react-native-image-resizer
|
||||
```
|
||||
|
||||
React-Native < 0.29.2
|
||||
```
|
||||
npm install rnpm -g
|
||||
rnpm install react-native-image-resizer
|
||||
```
|
||||
|
||||
### Android
|
||||
|
||||
Note: on latest versions of React Native, you may have an error during the Gradle build on Android (`com.android.dex.DexException: Multiple dex files define Landroid/support/v7/appcompat/R$anim`). Run `cd android && ./gradlew clean` to fix this.
|
||||
|
||||
## Usage example
|
||||
|
|
Loading…
Reference in New Issue