I solved my problem by going to settings, sd card and phone storage options and unmounted the card and then mounting it