Adb install failed

后端 未结 3 1351
鱼传尺愫
鱼传尺愫 2021-01-28 04:24

I\'am developing an android app. before this morning everythings ok when i click \'run\' in Android Studio, the IDE will compile my codes and install apk to my devices automatic

相关标签:
3条回答
  • 2021-01-28 04:39

    I started having this issue after upgrading Android 3.6

    I first tried everything listed on Android error: Failed to install *.apk on device *: timeout

    Many of those suggestions are common and should be tried as well. I had to change cable in the past. reboot devices. uninstall applications. but nothing was working today.

    I finally figured I needed to update the SDK toolkits

    it is now working fine

    0 讨论(0)
  • Looks like you are trying to install a debug app with adb. Debug APK file is signed with debug Keystore and wont be installed with adb. You need to sign your app. go to link below, generate a Keystore and build your APK file with that Keystore file. guide to sign your app

    Don't lose your Keystore file and passwords and try to protect it because you will need it later for updates.

    0 讨论(0)
  • 2021-01-28 04:46

    Sometimes installed package meta info resides in app install package which causes to show 'failed to install .apk. simply run adb uninstall com.package command and try to install it again.

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