Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
郑晓勇 committed Apr 23, 2017
1 parent 112913e commit 247261d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ or
```
compile 'com.zxy.android:tiny:${LAST_VERSION}'
```

### **Choose an abi**
**Tiny** provide abi:`armeabi``armeabi-v7a``arm64-v8a``x86`.

Choose what you need "abi" version:

```
android {
defaultConfig {
ndk {
abiFilters 'armeabi-v7a','x86'//or armeabi、arm64-v8a、x86
}
}
}
```

### **Initialization**

```
Expand Down
7 changes: 4 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ android {
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

ndk {
abiFilters 'armeabi-v7a','x86'
}
}
buildTypes {
release {
Expand All @@ -18,9 +22,6 @@ android {
}
}

aaptOptions {
cruncherEnabled false
}
}

dependencies {
Expand Down

0 comments on commit 247261d

Please sign in to comment.