From 752e370211e7fd01e6613a52b3ee065c3f36a9a5 Mon Sep 17 00:00:00 2001 From: jason Date: Mon, 20 May 2019 17:28:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96demo=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=BC=82=E6=AD=A5=E6=89=AB=E6=8F=8F=E6=97=B6=E5=A4=9A?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E5=90=8C=E4=BA=8B=E6=93=8D=E4=BD=9C=E4=B8=80?= =?UTF-8?q?=E5=9D=97=E6=95=B0=E6=8D=AE=E6=97=B6=E5=BC=95=E5=8F=91=E7=9A=84?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 ++++++++++++++- app/build.gradle | 6 +++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b2765430..0c1e738a 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,19 @@ nsfwBean?.sfw ... nsfwBean?.nsfw ... ``` -### Demo运行结果: + +- 项目打包时请使用如下代码确定你使用的ndk,否则会打包全部类型的库文件,导致项目异常庞大 +``` + ndk { + abiFilters 'armeabi-v7a' + } +``` +### [点我下载apk(arm+x86)](https://fir.im/nsfw) + +### 扫码下载 + +![图片](https://github.com/devzwy/open_nsfw_android/blob/master/img/2.png) + +### Demo运行结果(后期手动打码防止屏蔽): ![图片](https://github.com/devzwy/open_nsfw_android/blob/master/img/1.png) \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index b47825d8..a737dec0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -14,7 +14,7 @@ android { versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" ndk { - abiFilters 'armeabi-v7a' + abiFilters 'armeabi-v7a','x86_64' } } buildTypes { @@ -45,6 +45,6 @@ dependencies { androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30' - implementation project(path: ':nsfw') -// implementation 'com.github.devzwy:open_nsfw_android:1.2.3' +// implementation project(path: ':nsfw') + implementation 'com.github.devzwy:open_nsfw_android:1.2.4' }