Search code examples
androidadb

Adb has stopped working suddenly


Suddenly my adb is not working. I tried reinstalling sdk but it is still not working. Though android studio is working just fine.

enter image description here


Solution

  • Get to the right location and try again!

    In my case adb in located here:

    C:\Users\username\AppData\Local\Android\sdk\platform-tools
    

    Or maybe it's just a usual problem with your Windows

    Probably Windows issue: Try the following

    Go to Control Panel, choose System and click Advanced System settings

    On the pop-up box -> select Advanced ->Click Settings under performance

    Another dialog appears -> Select Data Execution Prevention and click add

    Go to your adb.exe file and select it and click apply and then OK.

    You are done.!