diff --git a/README.md b/README.md index 4ac1c3e..31d848b 100644 --- a/README.md +++ b/README.md @@ -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** ``` diff --git a/app/build.gradle b/app/build.gradle index d12971c..44fcc3a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,6 +10,10 @@ android { versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + + ndk { + abiFilters 'armeabi-v7a','x86' + } } buildTypes { release { @@ -18,9 +22,6 @@ android { } } - aaptOptions { - cruncherEnabled false - } } dependencies {