I have recycled the bitmap variable and when I again tried to use the same variable I have some strange errors with reference to recycle. Any solution to this issue ?
You can have check before recycling the bitmap, as like :
if (img != null && !img.isRecycled()) { img.recycle(); img = null; System.gc(); }
Here img is bitmap.
Try this type error is sloved.