{"repo":"MuntashirAkon/libadb-android","free":true,"listed":false,"github":"https://github.com/MuntashirAkon/libadb-android","clone":"git clone https://github.com/MuntashirAkon/libadb-android.git","description":"ADB library for Android","language":"Java","stars":406,"topics":["android-adb","android-library"],"license":null,"category":"mobile-apps","readme_excerpt":"LibADB Android ADB library for Android. It enables an app to connect to the ADB daemon ( adbd process) belonging to the same or a different device and execute arbitrary services or commands (via shell: service). Disclaimer: This library has never gone through a security audit. Please, proceed with caution if security is crucial for your app. Avoid using the APIs for reasons other than connecting or using ADB. For the safety of your app and its users, open a remote service instead of using ADB and ask the user to disconnect Wireless debugging. Getting Started Adding Dependencies LibADB Android is available via JitPack. If you're using the custom Conscrypt library in order to connect to a remote ADB daemon and the app targets Android version below 4.4, you have to extend android.app.Application to apply fixes for the random number generation: Notice: Conscrypt supports only API 9 (Gingerbread) or later, meaning you cannot use ADB pairing or any TLSv1.3 features in API less than 9. The corresponding methods are already annotated properly. So, you don't have to worry about compatibility issues that may arise when your app's minimum SDK is set to one of the unsupported versions. Configuring ADB Instead of doing everything manually, you can create a concrete implementation of the AbsAdbConnectionManager class. Example: Connecting to ADB You can connect to ADB in several ways from the AbsAdbConnectionManager : Method Description --------------------------------- --------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/MuntashirAkon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MuntashirAkon/libadb-android/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}