最近在运行到Android Studio自带模拟器上时出现了如下问题:
Installation failed with message Failed to finalize session :
INSTALL_FAILED_INVALID_APK: /data/app/vmdl1845193167.tmp/
11_app-debug signatures are inconsistent.
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?
问题因该是我把debug.keystore更换了。
问题解决:
进入D:\###\app\build\文件夹下将intermediates文件夹删除即可!