Eclipse + bluestacks Debug Android App

Source: Internet
Author: User



Pre-preparation:
1. Prepare eclipse that already has the ability to debug Android programs with the simulator.
2. Download and install the bluestacks. The address of the Chinese website is http://www.bluestacks.net.cn/Download/


After the preparation is complete, the next step is to let Eclipse and bluestacks communicate with each other. First open the Bluestacks, then open Eclipse, switch to the DDMS perspective, you can see the devices view has found the bluestacks of the analog device emulator-5554

----------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------



    • Open Bluestacks first.
    • Then open Eclipse and switch to the DDMS perspective to see the emulator-5554 of the analog device that Bluestacks has found in the devices view.

 
    • Then find a project to debug. Here I looked for an example project "Avg_opengles" for the Lgame framework author to do the testing. Set "Debug Configuarations" under Debug settings first.
 
    • In the "Target" tab of the Open Debug interface, select "Always prompt to pick device".
 
    • In the "Target" tab of the Open Debug interface, select "Always prompt to pick device".
 
Here's how our Android project works in Bluestacks.
 
if the program is in the middle of a breakpoint, the application can also break normally at breakpoints. OK, you are done! You can see that FPS reaches 50. Dizzy, than the simulator does not know how many times faster.

proof of the data
 
machine configuration
Processor name dualcore Intel Core i3 330M, 2133 MHz (x 133)
Motherboard chipset Intel Ibex peak-m HM55, Intel Ironlake-m
system Memory 3892 MB (DDR3 SDRAM)
Display Adapter Intel (R) HD Graphics (up to MB)
Computer Type ACPI Multiprocessor PC (Mobile)
Operating System Microsoft Windows XP Professional
system Patches (SP) Service Pack 3

Eclipse + bluestacks Debug Android App

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.