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

图片预览闪退,报方法找不到 #155

Open
zhw634631 opened this issue May 3, 2019 · 1 comment
Open

图片预览闪退,报方法找不到 #155

zhw634631 opened this issue May 3, 2019 · 1 comment

Comments

@zhw634631
Copy link

这个是错误日志
UncaughtException detected: java.lang.NoSuchMethodError: No virtual method setRotatable(Z)V in class Luk/co/senab/photoview/PhotoViewAttacher; or its super classes (declaration of 'uk.co.senab.photoview.PhotoViewAttacher' appears in /data/app/com.jumeng.lsj-WSHFzcu7uioHpBgXaXR8Eg==/base.apk!classes3.dex) at com.bilibili.boxing_impl.ui.BoxingRawImageFragment.onViewCreated(BoxingRawImageFragment.java:85) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1471) at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852) at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:802) at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
我集成的包是 implementation 'com.bilibili:boxing-impl:1.0.4'

@zhoufeng1213
Copy link

加上这句:
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'
}

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

2 participants