Skip to content

Commit eeff593

Browse files
committed
update to 1.2.2增加arm64-v8a的支持
1 parent f4435b4 commit eeff593

File tree

7 files changed

+8
-10
lines changed

7 files changed

+8
-10
lines changed

.idea/gradle.xml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,20 @@ a lightweight image compress framework for Android based on libJpeg.
4444
1.1.9 修复bug
4545
1.2.0 增加Bitmap.Config的设置,默认是RGB_565,可以在CompressArgs设置,也可以在LightConfig统一配置
4646
1.2.1 网络图片下载增加磁盘缓存
47+
1.2.2 增加arm64-v8a的支持
4748

4849
### 使用方法:
4950

5051
android {
5152
...
5253
ndk {
5354
abiFilters 'armeabi-v7a', 'armeabi'
55+
//abiFilters 'armeabi-v7a', 'armeabi', 'arm64-v8a' 根据需要选择指令集架构
5456
}
5557
}
5658
5759
//引入
58-
implementation 'com.noober.light:core:1.2.1'
60+
implementation 'com.noober.light:core:1.2.2'
5961
6062
//如果要配合rxjava2,加入rxjava2的依赖
6163
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'

app/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ android {
1010
versionName "1.0"
1111
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1212
ndk {
13-
abiFilters 'armeabi-v7a', 'armeabi'
13+
abiFilters 'armeabi-v7a', 'armeabi', 'arm64-v8a'
1414
}
1515
}
1616
buildTypes {
@@ -36,7 +36,6 @@ android {
3636
sourceCompatibility JavaVersion.VERSION_1_8
3737
targetCompatibility JavaVersion.VERSION_1_8
3838
}
39-
buildToolsVersion '26.0.2'
4039
}
4140

4241
dependencies {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ext {
3030
userOrg = 'noober'
3131
groupId = 'com.noober.light'
3232
uploadName = 'Light'
33-
publishVersion = '1.2.1'
33+
publishVersion = '1.2.2'
3434
desc = "a light weight image compress framework for Android based on libjpeg"
3535
website = 'https://github.com/JavaNoober/Light'
3636
// gradlew clean build bintrayUpload -PbintrayUser=xiaoqiandroid -PbintrayKey=xxxxxxxxxxxxxxxx -PdryRun=false

light/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ android {
1010
versionCode 1
1111
versionName "1.0"
1212
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
13-
ndk {
14-
abiFilters 'armeabi-v7a', 'armeabi'
13+
// ndk {
14+
// abiFilters 'armeabi-v7a', 'armeabi'
1515
// abiFilters 'armeabi-v7a', 'armeabi','x86'
16-
}
16+
// }
1717
}
1818

1919
buildTypes {
162 KB
Binary file not shown.

light/jniLibs/arm64-v8a/liblight.so

9.67 KB
Binary file not shown.

0 commit comments

Comments
 (0)