Skip to content Skip to sidebar Skip to footer

Unable To Install Apk Using Adb On Device Upgraded To Android Lollipop

I’ve recently upgraded one of my Android devices to Android Lollipop (5.0) and now I can’t debug my application and even install apk on the device using adb. I receive the foll

Solution 1:

Disabling Tools -> Android -> Enable ADB Integration solved my issue.

Running on Asus Zenfone 2.

Solution 2:

I don't know why this issue appears but you can successfully avoid this issue by closing all the running applications on your device.

Also Unable to test app after upgrading to Lollipop

Solution 3:

This error message is due to release binary problem by manufecturer (Asus in this case). This error will not appear in Google Nexus and Samsung Galaxy due to their handling in binary

Solution :

After searching about above problem, the below solution is found on other Stack Overflow question :

  1. Using terminal, just reinstall with adb to avoid the Android Studio recompile time:

    $terminal: /sdk/platform-tools/adb install -r

And usually it works. If it fails again, just run this command again

  1. If you really want to try it, the process would be:

    1. Close Studio (or try disabling Tools | Android | Enable ADB Integration)
    2. Do the following on a shell:

       $ adb push /path/to/your/project/app/build/outputs/apk/app-debug.apk /data
       $ adb shell pm install /data/app-debug.apk
       $ (am start command from comment #4/#5)
    3. Restart IDE (or Re-enable ADB Integration).

This solution is suggested by Google group for alternate fix to above problem Here

Reference Answer : Here

This way you will able to re-install apk and above error will not come

Solution 4:

I found a solution though I am not sure if others are willing to use it as it may harm the device and causes it to get useless

In fact, as the answers that the question has received just sound to be copy and paste of other questions’ answers and are not applicable in my case I disappointingly tried to make a radical move and flash my device to downgrade its software to Android 4.2.2 but chancy I decided to flash my device to Android Lollipop again to see if it removes the issue and fluky it did (at least in my case)!

IMPORTANT NOTE!

Before following this procedure, consider the fact that your device may get broken and you lose all data you have on your device. So please make a backup copy before you proceed.

I searched a lot and found methods that are partially described here and here but finally I followed this procedure:

  1. Download the correct update file from here (ASUS support or FonePad Support) according to the type of your device (ww, tw or others). Mine is ww and downloaded ASUS Fonepad 7 (ME175CG) Software Image Version: WW_V6.3.7 For WW.
  2. Then change the downloaded file to ASUS_BUNDEL.ZIP
  3. Then copy that file in to root internal memory
  4. Putting the device into recovery mode (by holding volume up and power key down simultaneously)
  5. Choose SD Download

The device starts to flash and after finishing it you have a brand new device and the issue is completely removed.

Now I can install apk using adb command and debugging my application as I did before and I have not seen the nasty error anymore.

I'll open this answer to receive others feedback then I mark it as the real answer.

I hope this help others resolve the issue.

Solution 5:

I had the same issue with Asus MemoPad ME70CX and solved by restarting ADB server using command line. Also you may need to kill BlueStacks processes running in background using TaskManager.

Post a Comment for "Unable To Install Apk Using Adb On Device Upgraded To Android Lollipop"