Installation failed with message Invalid File
Just follow two steps
Step 1 : Build---> Clean
Step 2 : Build--> Build APK
Hope it works. Good luck guys
I found the solution go to
settings>build,execute,deployment>instant run>Enable instant run to hot swap code /resource change on deploy(unchecked this option)
`
Click Build tab ---> Clean Project
Click Build tab ---> Build APK
Run.