I get this error message after I moved my project folder to another location on my pc and tried to run my app.
Installation failed with message Invalid File:
C:\Users\Zhong\AndroidStudioProjects\HappyBirthday\app\build\intermediates\split-apk\debug\slices\slice_1.apk.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
But actually my project folder is currently under D:\\
Everything works fine with instant run disabled, but if I enable instant run and click the run button, this error message will appear again.
It seems that the paths of those files are not automatically changed in some files.
I've tried to find some settings to fix that but no luck. I'm new to android developing, please help me with this simple problem.