Question Detail

Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_slice_1_apk was defined multiple times. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and the

6 years ago Views 6984 Visit Post Reply

While running my Android app is shows me this error. Why raising this and how to resolve it please help?

 

Installation failed with message Failed to finalize session: INSTALL_FAILED_INVALID_APK: Split lib_slice_1_apk was defined multiple times.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present and then re-installing.
Image result for Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_slice_1_apk was defined multiple times. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.


Thread Reply

Correct Answer

Anonymous

- 6 years ago

Turning off instant run eliminates that error.

enter image description here

And yes disabling that setting fixes the issue.

Anonymous

- 5 years ago

How to solve this issue:

  1. Install RootExplorer
  2. Create new tmp folder on SD card
  3. Long press on tmp folder, and select Link to this folder (last option in menu)
  4. Go to /data/local/ and tap button CREATE LINK from bottom

Anonymous

- 5 years ago

I was also face Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_slice_1_apk was defined multiple times. It is possible that this issue is resolved by uninstalling an existing version of the apk when i try run my Android Studio program some times it gives me this error you can easly solve this issue just

  1. Restart your android Studio
  2. Go into Files > Settings
  3. click at the left pannel Build Execution, Deployment 
  4. Instant Run 
  5. Uncheck the Enable Instant Run to hot swap......

from this i have successfully resolve my issue now try to run android Studio project in your Device