简体   繁体   中英

How can I test my app development directly on an Android phone?

I can't find an emulator that fits my mobile screen size, so I created a custom emulator, but unfortunately, even though it's actually according to the size of my mobile, the graphics are showing differently on the actual device.

  1. How to detect a 2.3 device which is not listed within the avd manager?
  2. If that's not possible, what should I do to test the development directly on the mobile without having to export a .pak file every time?

On the phone, go to Settings -> Applications. Enable "Unknown sources".

Then select "Development" and enable "USB debugging" and "Stay Awake".

Connect the phone to your PC via USB and it should appear in the list of available devices to use for debugging.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM