Clean project resets "custom" XML

NJDude

Expert
Licensed User
Longtime User
If I have say, an XML for my project which displays ads, I added the "AdMob" lines, save it, set the option "Do not overwrite the manifest file" and then compile my app, then I decide to use "Tools -> Clean Project", the "custom" XML is reset and I lose the AdMob additions, however the "android-Manifest-Example.xml" remains, if I set the XML to "read only" I get "access denied" when cleaning the project.

I think, the cleaning process should check for the "Do not overwrite manifest file" prior to start.
 

diego

Member
Licensed User
Longtime User
Accidentally I clicked on "clean project" and my keystore has dissapeared!:BangHead:

there is no way to recover it?
 

Kevin

Well-Known Member
Licensed User
Longtime User
You had your keystore file in your project's "Objects" folder? I thought that was the only folder affected by "Clean Project", but I could be mistaken. Regardless though, I wouldn't keep it in any project folder. I think I put mine in a subfolder of the main B4A folder, but you can put it anywhere that it would not get written over. Are you sure you didn't just forget which folder it was in? Wishful thinking...... :)

But to answer your question, unless you happen to have a backup of it or have an OS that saves "old versions" of folders (such as XP Pro, etc), then I don't think there is any way to recover that file. Do you perhaps have a backup (zip) of your project folder & subfolders somewhere? I always backup the entire project folder and subfolders every time I release a new version of my app. That way I can always go back to any previous version for any reason and get the original code and APK back.

If you haven't actually published anything on the Market yet, I would just create a new one and point to that one in your projects. Oh, and MAKE A BACKUP OF IT. I have three backups of mine in various places. :D

If you have published apps in the Market, then you will not be able to publish them as updates to the same app, but instead would have to consider them to be different apps (if I understand it correctly, that is).

Good luck!
 
Last edited:
Top