[Android] Failed to finalize session : INSTALL_FAILED_INVALID_APK
by Riley MacDonald, January 25, 2018

While working on a Sample Application for Android I refactored all of the packages names. Afterwards I ran into trouble installing/deploying the application to a device using a different dev machine (I performed the refactoring on my desktop machine). The error also mentioned the old (x) new package names “Package x inconsistent with package y“. I assumed this was an issue with code deployed to the device. Turns out it was local and performing a clean resolved the issue.

$ ./gradlew clean
Open the comment form

Leave a comment:

Comments will be reviewed before they are posted.

User Comments:

Be the first to leave a comment on this post!