

So first, before learning Dagger dependency injection we should know why we need a framework such as Dagger. In this article, we will learn about manual dependency injection. You can use an ADB to deploy an Android package (APK) manually after building. If the output list is empty and you are using Windows, you may need to install the driver for ADB An Android Debug Bridge (ADB). In Android device find the IP address from Settings > wi-fi Setting > Advanced > IP Address.Use the same Android Debug Bridge IP address to connect the device via ADB connect device Run the adb devices command from the platform-tools directory of your Android SDK installation and check the output.

Now, disconnect the USB cable from the device. Set target device to connect TCP/IP on port 5555. Type the following command: adb devices Confirm USB debugging is enabled in device.

If the Android SDK is installed at its default location, adb is located at C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe if not, modify this path for the location of the Android SDK on your computer. Open a command prompt and go to the folder where adb is installed.
