Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 10 crash #临时解决方案 #164

Open
xiaoyuanhu opened this issue Nov 11, 2019 · 8 comments
Open

Android 10 crash #临时解决方案 #164

xiaoyuanhu opened this issue Nov 11, 2019 · 8 comments

Comments

@xiaoyuanhu
Copy link

xiaoyuanhu commented Nov 11, 2019

这个issues的@zhoufeng1213 同学给了解决方案,#154
我把它打包上传到了jitpack,方便大家修复这个bug。
1.项目根目录build.gradle添加jitpack的maven仓库

allprojects {
    repositories {
       ...
        maven { url 'https://jitpack.io' }
    }
}

2.替换项目的boxing引用地址

//    api 'com.bilibili:boxing-impl:1.0.4'
//    api 'com.bilibili:boxing:1.0.4'
    api 'com.github.xiaoyuanhu.boxing:boxing:1.0.4.1'
    api 'com.github.xiaoyuanhu.boxing:boxing-impl:1.0.4.1'

3.项目的targetSdkVersion不要大于28

@ppg408331701
Copy link

miui11 android 10.0
能正常打开,但是拍照返回时还是崩溃
请问是什么原因

@thundeGG
Copy link

错误: 程序包UCrop不存在

@xiaoyuanhu
Copy link
Author

@7hunder 缺少UCrop,把这个加上
//bitmap selector
implementation('com.yalantis:ucrop:2.2.0') {
exclude group: 'com.android.support'
exclude group: 'com.squareup.okio'
exclude group: 'com.squareup.okhttp3'
}

@thundeGG
Copy link

thundeGG commented Nov 21, 2019

找不到BoxingActivity @xiaoyuanhu

@tikeyc
Copy link

tikeyc commented May 7, 2020

@xiaoyuanhu
点击预览照片直接崩溃。
找不到class uk.co.senab.photoview.PhotoView

@xiaoyou66
Copy link

感谢大佬,模拟器已经可以正常运行了

@zktzktzkt
Copy link

@xiaoyuanhu
点击预览照片直接崩溃

@1794208519
Copy link

Android 11 在api 'com.github.xiaoyuanhu.boxing:boxing:1.0.4.1'
api 'com.github.xiaoyuanhu.boxing:boxing-impl:1.0.4.1'上也不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants