Android Studio: Application Installation Failed

前端 未结 29 2002
清歌不尽
清歌不尽 2020-11-28 22:42

I\'ve been trying to learn how to use Android Studio but when I attempted to run one of the sample programs I get this error message:

Installation fai

相关标签:
29条回答
  • 2020-11-28 23:21

    For the 1st time installation of apps in a device, enable developer option which is mentioned in the above post. For facing problem while installing the apps from the tool, follow the below steps....

    By enabling an option in settings, you can install apps directly. Error will disappear.

    For MI users: Go to Settings-> Additional settings-> Privacy-> Unknown sources (make it enable) For Normal Users: Go to Settings-> Security -> Unknown sources (make it enable)

    0 讨论(0)
  • 2020-11-28 23:22

    Some solutions:

    1 Build -> Clean Project

    2 Build -> Rebuild Project

    3 Built -> Make Project

    4 Remove your application from device and try install again

    5 Mb you have some problems with actual version of yours app(try to pull actual branch). Also you can check on your emmulator, if yours app is running.

    6 Try to use 1,2,3,4 solutions.

    0 讨论(0)
  • 2020-11-28 23:22

    I had the same issue, and found that it was the USB cable I was using that was causing the issue.
    Changing the USB cable fixed the issue, and I could successfully install the app afterwards.

    0 讨论(0)
  • 2020-11-28 23:26

    I got the same problem , just choose clean project then rebuild project from build menu , it's solved my problem

    0 讨论(0)
  • 2020-11-28 23:26

    Simply closing Android Studio (and emulator) then re-opening fixed it for me. Once I ran the app again, the apk re-installed successfully and app ran properly.

    0 讨论(0)
  • 2020-11-28 23:26

    If you do all of things above and still get stuck, just try reopening your Android Studio.

    0 讨论(0)
提交回复
热议问题