Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failure [INSTALL_FAILED_DEXOPT] error while sideloading app on Fire TV Stick

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

like image 683
Anas Azeem Avatar asked May 19 '18 11:05

Anas Azeem


People also ask

Can we sideload apps on Fire TV Stick?

The fastest and simplest way to get an app over to your Fire TV, without having to use third-party apps or any tedious TV remote typing, is to use an Android phone (if you have one). The Apps2Fire app on the Play Store allows you to transfer any app that's already installed on your phone over to the set-top box.

How do I sideload apps on FireStick Android?

Sideloading from Your Android DeviceLaunch the app and then tap on the menu button in the upper left corner. Within the menu select “Setup” and on the follow screen enter the IP address of your Fire device. Once you click save you'll have two options for transferring apps.


1 Answers

set com.android.tools.build:gradle: to 3.0.1 and gradle to 4.4 solve my issue. Try it.

like image 123
nitin tyagi Avatar answered Sep 21 '22 23:09

nitin tyagi