kotlin #bitmap #bitmapException #memoryClass 썸네일형 리스트형 [Android][Kotlin]Canvas: trying to draw too large , 비트맵 이슈 Exception이 발생했다!!!!!! 으악!!!!!!! 고쳐보자 고쳐보자 이슈 - Fatal Exception: java.lang.RuntimeException - Canvas: trying to draw too large(163840000bytes) bitmap. android.view.DisplayListCanvas.throwIfCannotDraw 원인 - 이미지를 로딩하는 중에 해당 스마트폰의 최대 메모리를 넘어서서? - ui보다 큰 이미지를 view에 올렸을 때? 해결 방안 1. Manifest 에 androd:largeHeap:"true" 추가 -> 안됨,,, 왜 안됐지 ㅜ 기억나면 다시 적어야지 2. BitmapFactory 이용하여 비트맵 사이즈 줄이기 -> 나는 BitmapUtil.kt .. 더보기 이전 1 다음