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
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
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.
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.