Here is how to Fix INSTALL_FAILED_INVALID_APK: Split lib_slice_5_apk was defined multiple times.

This is a common error in the android studio and can be fixed by doing one of these – disabling Instant Run, clean project and rebuild project.

Most likely, this error will be gone by disabling instant run, here is how to do it

 

How to disable instant run in android studio

In android studio, Click File > Settings Or Click Ctrl+Alt+S. In the next window, select Build,Execution,Deployment

Now you can disable the instant run and then try to rebuild your android project, it should build successful now

Related Posts

Fix Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources

Here is how to fix Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources This error is caused by mismatching…

Get Age from Date of Birth in Java Android

Here is how to get a user’s age from date of birth If you need get a user’s age from a given date of birth string, this…

How to Check if String Array Contains a Specific String in Android

Here is how to get a specific value or String from Array in Android To check if a string array contains a specific string, you can use…

Make Android WebView Support Razorpay Payment

How to Support Razorpay Payment and UPI in Android WebView? Android webview is inexpensive and easy way to make apps for websites. But to support some specific…

Make Android Webview Support PayTM Google Pay PhonePe UPI

GooglePay, Phonpe and PayTM support in Android WebView If you have built an android app for your new ecommerce website or any other website that needs accept…

Comment