2017-09-12 6 views

답변

0

해결책을 찾았거나 문제를 해결하려고했습니다. 방금 "+"기호를 추가했습니다. 그래서이 선은 이제 다음과 같이 보입니다 ... gifInputStream = context.getResources(). openRawResource (+ R.drawable.image);

AndroidStudio에 오류가 표시되지 않습니다.

0

원시 파일을 드로잉 할 수 없습니다.

res/raw/ 디렉토리를 만들고 원시 디렉토리에서 파일을 이동하십시오.

후 후 : -

context.getResources().openRawResource(R.raw.yourfilename)