From 9eb5228f00ff356ac0128abfbb1c85a6abceeca7 Mon Sep 17 00:00:00 2001
From: chenke <chenke@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 19 七月 2017 15:39:47 +0800
Subject: [PATCH] 图像缩放模块,中文字体支持模块。
---
VisitFace/DemoForBsk/app/build.gradle | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 51 insertions(+), 7 deletions(-)
diff --git a/VisitFace/DemoForBsk/app/build.gradle b/VisitFace/DemoForBsk/app/build.gradle
index f6d5f69..df95a9b 100644
--- a/VisitFace/DemoForBsk/app/build.gradle
+++ b/VisitFace/DemoForBsk/app/build.gradle
@@ -1,20 +1,43 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 25
- buildToolsVersion "25.0.2"
+ compileSdkVersion 23
+ buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.bsk.zhangbo.demoforbsk"
- minSdkVersion 21
- targetSdkVersion 25
+ minSdkVersion 19
+ targetSdkVersion 23
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+
+ ndk {
+ //abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a'
+ abiFilters 'armeabi','armeabi-v7a','x86', 'arm64-v8a'
+ }
+ externalNativeBuild {
+ cmake {
+ arguments '-DANDROID_PLATFORM=android-21',
+ '-DANDROID_TOOLCHAIN=gcc', '-DANDROID_STL=gnustl_static'
+ }
+ }
+ }
+ sourceSets {
+ main{
+ jniLibs.srcDirs=["libs"]
+ }
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+
+
+ externalNativeBuild {
+ cmake {
+ path 'src/main/cpp/CMakeLists.txt'
}
}
}
@@ -24,9 +47,30 @@
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
- compile 'com.android.support:appcompat-v7:25.1.0'
+ compile 'com.android.support:appcompat-v7:23.1.0'
testCompile 'junit:junit:4.12'
- compile 'com.android.support:design:25.1.0'
+ compile 'com.android.support:design:23.1.0'
compile 'com.camnter.easyrecyclerview:easyrecyclerview:1.3'
-
+ compile 'com.facebook.fresco:fresco:1.1.0'
+ //compile 'com.wx.wheelview:wheelview:1.3.3'
+ compile 'com.google.code.gson:gson:2.8.0'
+ compile 'com.orhanobut:logger:1.15'
+ compile 'com.google.code.gson:gson:2.8.0'
+ compile 'com.lzy.net:okhttputils:+'
+ //鐗堟湰鍙蜂娇鐢� + 鍙互鑷姩寮曠敤鏈�鏂扮増,鍙互鍗曠嫭浣跨敤
+ compile 'com.lzy.net:okhttpserver:+'
+ //鐗堟湰鍙蜂娇鐢� + 鍙互鑷姩寮曠敤鏈�鏂扮増,鎵╁睍浜嗕笅杞界鐞嗗拰涓婁紶绠$悊锛屾牴鎹渶瑕佹坊鍔�
+ compile 'org.xutils:xutils:3.3.42'
+ compile 'com.alibaba:fastjson:1.2.29'
+ compile 'com.belerweb:pinyin4j:2.5.0'
+ compile fileTree(dir: 'libs', include: ['.jar','.so'])
+ compile 'org.xutils:xutils:3.3.42'
+ compile 'com.alibaba:fastjson:1.2.29'
+ compile 'com.belerweb:pinyin4j:2.5.0'
+ compile fileTree(dir: 'libs', include: ['.jar','.so'])
+ compile 'com.github.markomilos:paginate:0.5.1'
+ compile 'com.jude:easyrecyclerview:4.4.0'
+ compile 'com.android.support:appcompat-v7:23.1.0'
+ compile 'com.android.support:recyclerview-v7:23.1.0'
+ compile 'com.android.support:cardview-v7:23.1.0'
}
--
Gitblit v1.8.0