Skip to content

Commit 1e1ca2b

Browse files
committed
更改库的引入方式
1 parent c05a4d0 commit 1e1ca2b

18 files changed

+175
-52
lines changed

android/build.gradle

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
useLibrary 'org.apache.http.legacy'
4+
// useLibrary 'org.apache.http.legacy'
55

6-
compileSdkVersion 23
7-
// buildToolsVersion "23.0.1"
6+
compileSdkVersion 26
87

98
defaultConfig {
109
minSdkVersion 16
11-
targetSdkVersion 22
10+
targetSdkVersion 26
1211
versionCode 1
1312
versionName "1.0"
13+
ndk {
14+
//设置支持的SO库架构
15+
abiFilters "armeabi-v7a", "x86","arm64-v8a","x86_64"
16+
}
1417
}
1518
buildTypes {
1619
release {
@@ -34,6 +37,12 @@ repositories {
3437
dependencies {
3538
compile fileTree(include: '*.jar', dir: 'libs')
3639
compile 'com.facebook.react:react-native:+'
37-
implementation 'com.huawei.android.hms:push:2.6.3.301'
40+
// 基础功能 (必需)
41+
implementation 'com.netease.nimlib:basesdk:6.3.0'
42+
implementation 'com.netease.nimlib:push:6.3.0'
43+
implementation 'com.alibaba:fastjson:1.2.57'
44+
implementation 'com.huawei.android.hms:push:2.6.0.301'
45+
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
46+
3847
}
3948

android/libs/arm64-v8a/libcosine.so

-37.6 KB
Binary file not shown.

android/libs/arm64-v8a/libne_audio.so

-1.21 MB
Binary file not shown.

android/libs/armeabi-v7a/libcosine.so

-33.4 KB
Binary file not shown.
-735 KB
Binary file not shown.

android/libs/cosinesdk.jar

-65.2 KB
Binary file not shown.
-255 KB
Binary file not shown.

android/libs/nim-basesdk-6.1.2.jar

-1.02 MB
Binary file not shown.

android/libs/nim-push-6.1.2.jar

-54.2 KB
Binary file not shown.
-158 KB
Binary file not shown.

0 commit comments

Comments
 (0)