I just unlocked my iphone 3gs using spirit jb and then installed ultrasn0w from cydia. Phone is unlocked and working. Buy when I am trying the sync the apps I am getting following error.

"The application was not installed on iphone because unknown error occured (0xE8008001"

I tried authorize the computer and checked under setting > general and restrictions still same thing.

Iphone 3gs
model MC xx

How can I resolve this?