How to preserve saved data between debug sessions on Android?


#1

I’m just started to port our iOS game to Android, and have a question regarding preserving saved data with CCUserDefault between debug sessions. What can I do to prevent saved data loss? Is there a setting on the device I don’t know of or is there an option in Eclipse? I’m using NVIDIA Tegra Dev Pack if it makes a difference.

The saved data is preserved if I start the game on the device, but when the game is run from Eclipse it removes the apk (and the saved data).