Failure [INSTALL_FAILED_INVALID_APK]

I was getting this in Android Studio and all I did to fix it was go to "Build" > "Clean Project" and it just worked.


Just remove old APK android/app/build/outputs/apk/debug/app-debug.apk in the folder. that's all. enjoy your coding...