ID: 30160, A tool to terminate Android ADB when it locks files in the IDE by Ray Vecchio
- For Delphi, Version 12.0 (it can works in later editions) - Updated on Fri, 11 Sep 2015 02:58:42 GMT - Originally uploaded on Tue, 10 Mar 2015 08:28:19 GMT
DESCRIPTION Under some circumstance it looks as if the Android ADB locks files and prevents the compilation or debugging of an application.
This package will add an option under the "Run" menu that will run adb and allow it to cleanly terminate any servers left running in on your system.
There is full source code to the package so you can modify it as you like, perhaps add call in the finalization code of the package to shut adb down when the IDE is closed too.
I changed the package to check if there is an adb running and NOT read the location from the registry.