Installation did not succeed. The application could not be installed. Installation failed due to: 'null'

75,628

Solution 1

I had the Same issue on a MAC, this is how I solve it, note: I was tried the method that mention @Manoj Kumar,

Un check this field in Preferences/Build,Execution,Deployment/Debugger

Solution 2

1.Open run/debug configuration dialog:- Run> edit configurations.

  1. Navigate to You app > General > Installation Options > Install Flags.
  2. add install flags -r -t.

Note: This flags means adb install -r -t apk path

enter image description here

I hope this will help.

Solution 3

Restarting the device after enabling developer mode and allowing usb debugging did the trick for me.

Solution 4

For me, restarting the Android Studio solved the issue.

File> Invalidate Cache / Restart

Solution 5

  1. You has installed the app which has same package name with different debug signature file.
  2. The different signature file lead to the fault
  3. At first please uninstall the apk that you has installed with different signature file。
  4. Then you install the apk again ,You'll sucess!
Share:
75,628

Related videos on Youtube

Syed Arsalan Kazmi
Author by

Syed Arsalan Kazmi

I am an Innovative Android Developer with 7+ years of experience in designing, developing, testing & maintaining Android applications. I have developed 50+ Android apps from scratch. My Core Qualifications Include: - Created 10+ fully functional applications for Android devices. - Known for writing efficient, maintainable, and reusable code. - Proficient in design, data structures, problem-solving, and debugging. - Expert in the interaction between various devices and versions of Android.

Updated on July 11, 2022

Comments

  • Syed Arsalan Kazmi
    Syed Arsalan Kazmi almost 2 years

    I am trying to run my app on Android Studio 3.5. It throws an error while installing the app on the phone.

    Installation did not succeed. The application could not be installed. Installation failed due to: 'null'

    REAL DEVICE: XIAOMI REDMI S2

    • Filip123go
      Filip123go almost 5 years
      Check this please : stackoverflow.com/questions/57589248/installation-failed-due‌​-to-null-android-stu‌​dio-3-5
  • Syed Arsalan Kazmi
    Syed Arsalan Kazmi almost 5 years
    Its a different case. I have tried this. It does not work
  • Manoj Kumar
    Manoj Kumar almost 5 years
    so are you running this application in an emulator or in a real device?
  • Syed Arsalan Kazmi
    Syed Arsalan Kazmi almost 5 years
    Real Device: Xiaomi Redmi S2.
  • Eric Aya
    Eric Aya over 2 years
    This has already been mentioned in several other answers. When answering older questions that already have answers, please make sure you provide either a novel solution or a significantly better explanation than existing answers.
  • Shailesh
    Shailesh over 2 years
    It worked for me as well
  • Gavin Wright
    Gavin Wright over 2 years
    This worked for me when apps wouldn't install using wireless debugging.
  • Kevin
    Kevin over 2 years
    You are a superhero.

Related