How can I make the SD card work again after deleting necessary folders?
I think for starters you should back up any important files from the card, and then re-format it, wiping it completely. I'm not sure if it'll work, but it should trigger Android to recreate what it needs to. After that, you can copy any old data back to the card.