Problem with Upgrade [error 137]

Missed that you wrote rebuild can rebuild the app.

Here is the official guide: