android--Android Debugging tips (i)

Source: Internet
Author: User



after we have done an activity, we always have to look at the effect to rest assured, but in the face of the virtual start slow, slow response to two pain points, we always look for other ways.


1,copy generated apk file installation


After we choose Run as, we will produce an app apk file under the Bin folder, which we can copy and send to testers before it is released to Google.




Or is:


Right-click on this apk file to open and then enable the default app installer on my computer (we recommend that you install an app installer on your PC) and install it on your phone via a USB cable. The premise is that the phone turns on debug mode.






2,ddms+ Real Machine


people who have played with the pea pods of the PC know that pea pods have a feature that allows the phone to be connected via a USB cable, to operate on the computer and to demo the phone, which is often used to show or share what's in the app.


Ddms+ Real machine is like this. I thought that using DDMS can only monitor the virtual device on my computer, but today I use the phone debugging, I found that my phone is also displayed in the device list.


This way I can use the real machine to debug as if I were operating a virtual device.


Not to be continued ...







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

android--Android Debugging tips (i)

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.