Android phone with WiFi connection to Android Studio, real-computer test app

Source: Internet
Author: User
Tags get ip



1, the phone to get root privileges 



2, download in App market ( Terminal Simulator ), install.



3, give (terminal emulator) root privileges. Tip: To test whether it has root privileges, open the terminal emulator, enter the command: Su, return is not "permission Deny" the second time the software obtained root permissions.



4 . Confirm that your real computer and PC are in the same network segment. tip: Mobile phone to view the details of connected WiFi to obtain IP, computer cmd input ipconfig can get IP.



5. Open the terminal emulator and enter the following command:







6, on the computer, run CMD, enter the following execution command:


Example: The IP address of the real machine device is 192.168.142.225, then execute ADB connect 192.168.142.225: 5555








7, run in Android studio you want to test the app to install to the real test.



8, lose your USB cable!!! Kiss (Don't Lose It)



9, remember the praise yo.



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.



Android phone with WiFi connection to Android Studio, real-computer test app


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.