πŸ’Œ [Android/Kotlin] Error inflating class ImageView

μ•ˆλ“œλ‘œμ΄λ“œ 6 (API μˆ˜μ€€ 23) κΈ°κΈ°μ—μ„œ ν…ŒμŠ€νŠΈλ₯Ό ν•˜λ €κ³  λΉŒλ“œλ₯Ό ν–ˆλŠ”λ° Exception 이 λ–΄λ‹€.

Caused by: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class ImageView

μ—λŸ¬λ‚œ 이미지 파일이 drowable 폴더에 μ—†κ³  drowable-v24 폴더에 μžˆμ–΄μ„œ κ·Έλ ‡λ‹€.

πŸ“Œ 해결방법

μ—λŸ¬λ‚œ 이미지λ₯Ό λ³΅μ‚¬ν•΄μ„œ drawable 폴더에 λΆ™μ—¬λ„£κΈ° ν•œ ν›„ λΉŒλ“œν—€μ€€λ‹€.

μ°Έκ³  : https://stackoverflow.com/questions/47526417/binary-xml-file-line-0-error-inflating-class-imageview

profile
Android Developer..+ iOS 슬쩍 🌱 βœοΈλ„μ λ„μ ,,개인 기둝용 πŸ‘©πŸ»β€πŸ’»

0개의 λŒ“κΈ€