how to fix resource error in android while installing a game Android: 4.3 Jellybean

Whenever I install a game with an obb file in memory card, it says download failed because the resources could not be found, but that doesn't happen when I copy the obb file to internal memory.

When i first installed the games, everything was fine. But one day, I accidentally formatted my SD card and some files in internal memory. Then, the problem started. I can't install in my SD card.

Also, it doesn't matter if I'm online or offline. It still shows resource error.
It happen maybe because the app was programmed to use the internal sd card rather than the external sd card 

So my suggestion would be to use the internal location or use apps like app2sd to link a obb to the external sd card