Launch ADB using custom config adb_usb.ini file

2019-01-15 12:18发布

问题:

Is it possible to launch ADB pointed at an adb_usb.ini file in a custom location instead of looking at the users .android folder? I would like to be able to limit an embedded adb executable to only look for certain vid/pids and not interfere with potentially other copies of ADB on the computer (such as from having installed the android sdk).

回答1:

recent versions of adb do not use adb_usb.ini any more. Google has removed the USB VendorID whitelisting feature. There was no option to change the location of the file per user while it was still being used.



标签: android adb