When you run apk on emulators and when you run apk via usb on the phone, everything works, but if you take the finished apk (I take it from the folder: app \ build \ outputs \ apk) and upload it to the phone, then install it, it knocks out errors and does not starts up What is the problem?

The errors are as follows: enter image description here

  • @SviatVolkov and how to add these third-party libraries to apk? - shcherbuk
  • 2
    The error should be in the form of text, not a screenshot. - pavlofff
  • @pavlofff What's the difference? On the screenshot, everything is clearly visible - shcherbuk
  • 2
    Disable Instant Run and crash apk without it - eugeneek
  • 3
    The difference is that screenshots are not indexed by a search engine and people with a similar error will not be able to find this question and a possible solution. It so happens that this resource does not exist for you personally, but to create a base of reusable solutions and is designed to help many people with a similar problem. - pavlofff

1 answer 1

When Instant Run is enabled, debug apk files will not work during a normal installation (not through Android Studio).

You need to manually build the apk: Build -> Build APK .