# AndroidManifest file was deleted by accident

I deleted the AndroidManifest file of my project which was located in Assets\Plugins\Android , so I tried creating new project and copying the Assets and everything but it seems that something is missing ,it's perfectly working in the editor , but as apk there are few things aren't working, I can't figure out why, and there isn't even a Plugins folder in my new project !

• Let me just recommend using source control to prevent this being an issue in the future. – Almo Dec 18 '18 at 22:03
• What few things aren't working? The better we understand the patient's symptoms, the better we can prescribe a suitable treatment. – DMGregory Dec 19 '18 at 3:36
• @DMGregory you're right, I have a clock in my app, and it doesn't work ,there is a button too , while other buttons are working , the app is quite simple though – Abeer Dec 19 '18 at 22:15
• @Almo thanks for your help ,but I'm afraid that I didn't understand what source control is ! – Abeer Dec 19 '18 at 22:18
• Google is your friend. en.wikipedia.org/wiki/Version_control – Almo Dec 20 '18 at 0:14

Using apktool you can decompile the apk and get at some form of the original file. Note that it won’t have any comments that may have been in the original, and if you had any entries that explicitly remove automatically added elements using <... tools:node="remove"> they would be no longer be present, but it should otherwise be identical.
apktool d myapp.apk