11 Temmuz 2017 Salı

Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_slice_0_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. WARNING: Uninstalling will remove the application data!


I get this error on Android Studio. Because I copied my project to another directory. When I run the project in the directory that I copied from, project run without any error.

If we want to run the project that is in new location, then there are some thing we need to do. From top menu, Build -> Clean Project then Build -> Rebuild Project. Then when we run, we do not get any error.

--------------------------------------------------------------------------------------------------------------------------

Projemi calistirirken Android Studio dan bu sekilde bir hata aldim. Hatayi arastirdigimda buldugum sonuclardan biri benim yasadigim duruma benziyordu. Projemi baska bir lokasyona kopyalamistim. Ve kopyaladigim yerdeki projeyi acinca bu sekilde bir hata aliyordum. Projeyi ilk bulundugu konumdan actigimda ise calistirdigimda hatasiz sekilde calisiyor.

Ancak yeni bulundugu konumdan calistirmak istiyorsak oncelikle ust menude yer alan Build -> Clean Project yapmaliyiz. Daha sonra yine Build -> Rebuild Project yapmaliyiz. Eger hatamiz devam ederse birkac kez tekrar etmeliyiz. Projemiz hatasiz calisacaktir.

Hiç yorum yok:

Yorum Gönder