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

Canvas: trying to draw too large(557998884bytes) bitmap. 崩溃 #290

Open
budaowengd opened this issue Apr 23, 2023 · 2 comments
Open

Canvas: trying to draw too large(557998884bytes) bitmap. 崩溃 #290

budaowengd opened this issue Apr 23, 2023 · 2 comments

Comments

@budaowengd
Copy link

当子view是个ImageView,并且加载大图时,崩溃

Canvas: trying to draw too large(557998884bytes) bitmap.

com.donkingliang.consecutivescroller.ConsecutiveScrollerLayout.draw(ConsecutiveScrollerLayout.java:909)

@donkingliang
Copy link
Owner

这是你的图片太大啊。是不是你的图片本身很大,或者把高分辨率的大图放在低分辨率的目录下了。bitmap的大小是有限制的

@budaowengd
Copy link
Author

使用的是网络图片, 使用ScrolView 不会崩溃

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