Adding the platform-tools directory to our path In the extracted folder, we’ll have our adb.exe file. Once you’ve downloaded them, extract them to somewhere like c:\tools\platform-tools where you can have easy access to them. In our case, we’ll retrieve the platform tools for Windows. Depending on whether you run Windows, Linux, or macOS, you can find the right installer that you need for your system: Setting up the Android Debug Bridge for useīecause the Android Debug Bridge is a developer tool, it comes as part of the Android Platform Tools. ![]() This all sounds pretty great, right? Let’s see all of this in action now. Uninstall packages by their package name.Listen to advanced debugging log messages through logcat. ![]() Send and receive files from our Android device.Putting all our Android Debug Bridge knowledge togetherīenefits of using the Android Debug Bridge.Viewing advanced logging information from the device.Installing an APK over Android Debug Bridge.Copying a file from the device to our local storage.Copying a file from the local computer to the device.Acquiring an interactive shell terminal.Adding the platform-tools directory to our path. ![]() Setting up the Android Debug Bridge for use.Benefits of using the Android Debug Bridge.As long as we have any Android phone, we can make use of ADB. Some bugs are obvious and don’t take much effort to locate, whereas other bugs can be rarer in occurrence and can almost be daunting to locate and fix.įortunately, on Android, we can use the Android Debug Bridge (ADB) to perform advanced troubleshooting on our device. It’s often not too long before we hit a bug within our app. Over time, we add features, and the complexity of the application grows. Then, once we have completed thinking about how we should design the application, we start to rough out an implementation for the app in question. When we have an idea for a phone app, or a customer asks us to make an app to fulfill a certain need, our first step is usually to set about planning how we would approach that particular problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |