Sunday, 30 April 2017

Failed to finalize session : INSTALL_FAILED_INVALID_APK: /data/app/vmdl139xxxx.tmp/11_app-xxx version code 1 inconsistent with 0



Error:

Failed to finalize session : INSTALL_FAILED_INVALID_APK: /data/app/vmdl139xxxx.tmp/11_app-xxx version code 1 inconsistent with 0



I got this error, i got some suggestions, but none of them work. failed solutions:

1. clean and rebuild. and reconnect the device.
2. make a link from /data/local to /sdcard/tmp

solution:

My solution and in my case i have to degrade  my gradle, because i recently upgraded my gradle. and i think the new gradle has some new feature which is to try to delete  files from /data.local which request root permission.


If you really want to use new gradle, you have to use a new device.











No comments:

Post a comment