0
runtime-
ImageView couponImage = (ImageView) findViewById(R.id.couponImg);
couponImage.setBackgroundResource(R.drawable.coupon);
AnimationDrawable couponAnimation = (AnimationDrawable)
couponImage.getBackground();
couponAnimation.start();
으로부터이 코드에 오류가 발생합니다. 하지만 "AnimationDrawable couponAnimation"을 사용하지 않으면 일식이 불평합니다.