My app works fine when I install the app via Android Studio, but when I try to sideload the app using adb, I get the INSTALL_FAILED_DEXOPT
error. I have tried many things like cleaning, invalidating etc. but everything failed.
This only happens on the Fire TV Sticks with OS version 5.1.1, contrarily on the Fire TV regardless of the OS (even on 5.1.1 Fire TV), the app works absolutely ok.
Gradle version: 4.4 (Going back to 4.1 didn't help)
Android Plugin Version: 3.1.2 (Going back to 3.0.1 didn't help)
Build Tool Version: 27.0.3
minSdkVersion: 21
compileSdkVersion: 26
targetSdkVersion: 26
I am assuming this is the reason why my build isn't getting installed on the lollipop devices when I install the Live App Testing app.
Please let me know how to resolve this error.
Logcat output attached: https://gist.github.com/anas-incedo/64992269a1734061a2f739a5887e809c