java - Cannot find symbol variable Red? -
i creating apk using assemble release android studio produce error
error:(52, 86) error: cannot find symbol variable red
while work fine on debug. line of code produce error is
spiner.getbackground().setcolorfilter(getresources().getcolor(r.color.red), porterduff.mode.src_atop);
does guys meet issue?any appreciated.
for red color code red not available in r.color.
check http://developer.android.com/reference/android/r.color.html
for problem may try
r.color.holo_red_dark
hope work you.
Comments
Post a Comment