Added debug flag to preserve the android project directory as usually used to edit.
Write a copy of the manifest into the res/raw directory.