因boxing长期没人维护,为了解决以前项目留下的问题,便新建分支对boxing进行升级和修复。
Step 1.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2.
dependencies {
implementation 'com.github.toeii:boxing:v1.0.5'
}
注意:
1,如果没有引入photoview的话,需要引入photoview
implementation('com.chensl.rotatephotoview:rotatephotoview:1.0.5') {
exclude group: 'com.android.support', module: 'appcompat'
exclude group: 'com.android.support', module: 'support-v4'
exclude module: 'recyclerview-v7'
}
2,如果没有引入ucrop的话,需要引入ucrop
dependencies {
...
implementation('com.yalantis:ucrop:2.2.0') {
exclude group: 'com.android.support'
exclude group: 'com.squareup.okio'
exclude group: 'com.squareup.okhttp3'
}
}
- 修复Android 10、11 设备上崩溃的问题