- Connect Android phone and host machine to same WiFi network
- Connect Android phone to host machine using USB cable (to start with)
- Run
adb tcpip 5555
from a command prompt - Run
adb shell "ip addr show wlan0 | grep -e wlan0$ | cut -d\" \" -f 6 | cut -d/ -f 1"
to obtain the phone’s IP address - Disconnect USB cable and run
adb connect <ip_address>:5555
You can now view logcat output by running adb logcat
or by viewing the Android Monitor tab within Android Studio.
Related Posts:
- “unable to locate adb” using Android Studio [duplicate]
- “unable to locate adb” using Android Studio [duplicate]
- Solving “adb server version doesn’t match this client” error [duplicate]
- How to use adb command to push a file on device without sd card
- ‘adb’ is not recognized as an internal or external command, operable program or batch file
- Android ADB devices unauthorized
- adb is not recognized as internal or external command, operable program or batch file
- adb server is out of date. killing
- Android: adb pull file on desktop
- ADB No Devices Found
- Android device does not show up in adb list
- adb shell su works but adb root does not
- Set adb vendor keys
- ADB Android Device Unauthorized
- Session ‘app’: Error Installing APK
- adb shell su works but adb root does not
- Android ADB device offline, can’t issue commands
- IllegalArgumentException: Unable to locate adb in Android Studio v2.3
- Android Studio: Unable to obtain result of ‘adb version’
- adb command not found
- How to use su command over adb shell?
- How to resolve the “ADB server didn’t ACK” error?
- Android Device not recognized by adb
- ADB stopping at (waiting for devices)
- Android Studio doesn’t see device
- Android: adb: Permission Denied
- ADB error: cannot connect to daemon
- Android Device not recognized by adb
- Android ADB doesn’t see device
- Installing ADB on macOS [duplicate]
- How to authorize and accept ADB RSA key with broken touch screen on Android
- Adb backup does not work
- adb socket not working and daemon
- Error: Could not automatically detect an ADB binary. Some emulator functionality will not work until a custom path to ADB is added in the extended…
- How to use ADB Shell when Multiple Devices are connected? Fails with “error: more than one device and emulator”
- USB Debugging option greyed out
- Why am I getting Permission Denied when trying to push a Sqlite file to my rooted Android device?
- How to open adb and use it to send commands
- INSTALL_FAILED_NO_MATCHING_ABIS when install apk
- Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”
- adb devices return error: protocol fault (no status)
- Android Device not recognized by adb
- Not able to access adb in OS X through Terminal, “command not found”
- How to use navigateUp to close the application
- Install an apk file from command prompt?
- My users get “net::err_name_not_resolved”
- Can’t create handler inside thread that has not called Looper.prepare()
- E: unable to locate package pip
- What are the possible reasons for NFC Service to become dead after some time?
- Simple Android RecyclerView example
- What is ‘Context’ on Android?
- Unfortunately MyApp has stopped. How can I solve this?
- Change project name on Android Studio
- react-native: command not found
- Android – setOnClickListener vs OnClickListener vs View.OnClickListener
- How to fix: Error device not found with ADB.exe
- How to create a popup window (PopupWindow) in Android
- Why is Android Studio reporting “URI is not registered”?
- Getting error “The package appears to be corrupt” while installing apk file
- Error inflating class fragment
- What is Dalvik and dalvik-cache?
- Android auth firebase error: Local module descriptor class for com.google.firebase.auth not found
- Could not find com.android.tools.build:gradle:3.0.1
- Execution failed for task ‘:app:compileDebugJavaWithJavac’ Android Studio 3.1 Update
- Android: Difference between Parcelable and Serializable?
- Sending an Intent to browser to open specific URL
- setOnClickListener error – cannot resolve symbol
- First run of Android Studio. Unable to access Android SDK add-on list
- Why AVD Manager options are not showing in Android Studio
- Java syntax explanation – getMenuInflater()
- What are the differences between LinearLayout, RelativeLayout, and AbsoluteLayout?
- Android Studio : Failed to set EGL_SWAP_BEHAVIOR on surface
- Running Node.Js on Android
- emulator: incompatible HAX module version 3 requirs minimum version 4
- How do you change text to bold in Android?
- How do I center text horizontally and vertically in a TextView?
- How do I get the currently displayed fragment?
- What exactly does fitsSystemWindows do?
- What can com.sec.android.app.launcher be used for?
- How to create custom button in Android using XML Styles
- Android SDK path not specified
- Failed to connect to camera service
- How to create a file in Android?
- Can I underline text in an Android layout?
- This Activity already has an action bar supplied by the window decor
- getResources().getColor() is deprecated
- What’s the console.log() of java?
- Get JSON Data from URL Using Android?
- Android Drawing Separator/Divider Line in Layout?
- Re-enable “component tree” in Android Studio
- Singleton in Android
- Android getResources().getDrawable() deprecated API 22
- How to hide popping up Google Play’s unlocked achievement programatically?
- Error during installing HAXM, VT-X not working
- Error: fix the version conflict (google-services plugin)
- User Operation is waiting for “Building Workspace”
- What is android:ems attribute in Edit Text? [duplicate]
- Android scale animation on view
- How can I give access to WordPress site using an Android application ?
- Viewing statistics on self hosted site from Android WordPress app