If connected, you'll see the device name listed as a 'device.'" As I mentioned above, I get a heading for a list, and no items listed. Step 3 is: "When plugged in over USB, you can verify that your device is connected by executing adb devices from your SDK platform-tools/ directory. Step 2 is: "Enable USB debugging on your device." This is the thing where you tap your phone at a certain place in the settings to enable development capabilities. ![]() Step 1 is: "Verify that your application is "debuggable" in your manifest or adle file." The details on how to do it are provided, and I made the appropriate addition to my adle file. How to connect an Android device to Android Studio. I went to the developer.android site and followed the directions for connecting a device: ![]() I don't know if this is the reason for my difficulty or not (I don't think connecting my phone to my laptop is like a public network, is it?). But now, when I open Android Studio, I get a Windows Firewall window telling me that some aspects of Android Studio are blocked, including public networks. I used to get the error "Unable to obtain result of 'adb version'" when I opened the device manager, but I don't get that anymore, for some reason. If I click the green run arrow, I'm asked to choose my device, but my device isn't shown. ![]() In the terminal, I issue the command adb devices and I get the heading "List of attached devices" with nothing listed. When I open the device manager, there is no device listed. I'm working out of 'Learn Android Studio' by Adam Gerber (not an endorsement, just happens to be the book I'm using). I've been working on the HelloWorld app for a few weeks now, overcoming many little hurdles, and I think I've reached the last one.
0 Comments
Leave a Reply. |