DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: melqui
今日帖子: 23
在线用户: 16
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2019/12/24 6:00:21
标题:
ID: 30160, A tool to terminate Android ADB when it locks files in the IDE by Ray Vecchio 浏览:728
加入我的收藏
楼主: GOOD AND EASY GOOD-BYE ADB....

Embarcadero - Code Central

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.

...

CreatAndMenuItemIntoIDE('RunStepOverItem', 'Terminate Adb', TSTerminateADBMenuItemClick, true);

.....
http://codecentral.embarcadero.com/Item/30160


https://www.mirrored.to/files/0LDRJKFD/AndroidADBTerminate.rar_links
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行70.3125毫秒 RSS