• Latest Code...

    Featured Post

    Implementing Hilt in a Kotlin Android Jetpack Compose Project with MVVM Architecture

     In modern Android development, maintaining a scalable codebase can be challenging, especially when it comes to dependency management. Hilt,...

    Failed to install *.apk on device *: timeout in Android

    I faced many times Failed to install *.apk on device *: timeout in Android. So, i have to decided, I tries to clean project many times but unable to solve ,but now how to solve this problem in android.


    First you have do this  , change the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem.

    If you are in Eclipse, you can do this by going through

    Window -> Preferences -> Android -> DDMS -> ADB Connection Timeout (ms)

    If the above solution is working in case your eclipse, do this

    Restart the adb server by typing in the cmd:

    adb kill-server

    adb start-server

    Or
    simple go to DDMS Perspective and click on Reset adb.

    and

    There is many way to slove such kind of problem, sometimes it work when you do this

    Reboot the phone and completely power down and power up.

    Happy Coding !!!

    Contact Form

    Name

    Email *

    Message *