I have a working Android app which runs well on mobile phones. I tried to run the app on my tablet.
I got this message -
Instant Run does not support deploying build variants with multidex enabled,
to a target with API level 20 or below.To use Instant Run with a multidex
enabled build variant, deploy to a target with API level 21 or higher.
and got this error during build
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException:
duplicate entry: android/support/v13/app/FragmentCompatICS.class
So, I connected my phone, Build and Run the app on my phone. It worked fine. I know that Android Studio generated apk file. So, I copied the apk file to my tablet and installed it but the app crashed with the dialog "Unfortunately stopped".
What is causing this crash and how do I solve it?