android Image view out of memory error

后端 未结 5 1668
一整个雨季
一整个雨季 2021-01-25 06:43

In my Android project I have imageButton , and after clicking on it , it must open new Activity with imageView , and in my new Activity I must see the ImageButton\'s image only

5条回答
  •  独厮守ぢ
    2021-01-25 07:14

    I realize this is an old thread, but since I just came across this error today myself, and found that I received the same error, but with a different reason, I wanted to post a different perspective on the matter.

    In my case, this was an issue of the dimensions being too large, and not with the size (200K). Upon resizing to a smaller size (640px x 480px) the problem was resolved.

    Hope this can help someone else in the future who comes across this post.

提交回复
热议问题