Problems with Android Installation

Source: Internet
Author: User

1, installed eclipse and corresponding Java version of the number of bits to match, either 32-bit, or 64-bit.

2. APPCOMPAT_V7 issues with new ADT when creating a project

After you update ADT to 22.6.0, you create a new setup project, and the contents of appcompat_v7 appear. and create a new content that will appear. What the hell is going on here? The original appcompat_v7 is Google's own one of the compatibility package, is a support library, can make more than 2.1 full use of the 4.0 version of the interface.

Workaround:

If you don't want to create APPCOMPAT_V7, you can set the minimum Required SDK to more than 4.1 when you create a project (isn't that nonsense?). )

The APPCOMPAT_V7 project is no longer generated, and then you go to the list file to restore Minsdkversion to 8.

(This is the key, the general high version of the API can be backwards compatible, so, even if each time to go to the Androidmanifest.xml to change the version back to the lower version, such as: 8, each new project may take more than a few seconds, but always better than the annoying appcompat_v7 headache. )

3, how to solve the problem of slow Android simulator

In the Android development process, found that the speed of Android simulator is not generally slow, that is mainly because the Android simulator by default is caused by the ARM processor, here are mainly available in two ways:

① uses Intel virtual hardware acceleration to speed up the Android simulator to solve the problem of slow Android simulator.

② uses the Genymotion simulator, the main use is the virtual box VM principle;

Software Baidu Cloud Link: http://pan.baidu.com/s/1i39oLXr Password: 5t0f

Using HAXM Technology

One, 1, restart the computer, press "F2" key to enter the "BIOS";

Note: Different computers enter the "BIOS" in different ways, commonly used to enter the BIOS shortcut keys are: "ESC", "F2", "F10", "F12", "Enter", "Delete" and so on;

2, switch to the Configuration page below;

3. Set the last "Intel Virtual technology" to "[Enabled]";

Note: ① Some CPUs do not support virtual hardware acceleration, it is now known that the i3 and above I-series support virtual hardware acceleration;

② different computer options may be different, such as two different computer options ;

4. Press "F10" ("Save and Exit");

5, restart the computer;

Second, open "Android SDK Manager", updated "Extras->intel x86 Emulator Accelerator (HAXM installer)";

Note: about how to update the Andorid SDK can be seen:

Http://jingyan.baidu.com/article/636f38bb267982d6b84610f0.html

Three

Install Intel's Virtual hardware acceleration Software "INTELHAXM", such as "D:\Android\adt-bundle-

Windows-x86_64-20140702\sdk\extras\intel\hardware_accelerated_

Execution_manager\intelhaxm.exe ""

Note: Due to the latest version of INTELHAXM installation often failed, the old version can be installed to backup a copy to the Baidu Cloud

1. Use the shortcut key "Win + R" to open the running window;

2, enter "cmd", click OK;

Enter "SC query INTELHAXM" to query the current INTELHAXM status;

Note : If the error message pops up: "SC is not an internal or external command, nor is it a program or batch file that can be run." "When (Thank you user" Maple Grove "to provide test cases):

1. If "C:\Windows\System32\sc.exe" is missing, consider reinstalling INTELHAXM with administrator privileges;

2, may consider in the environment variable path to append: ";%systemroot%/system32;%systemroot%;%systemroot%/system32/wbem";

If the "INTELHAXM" service is turned off, you can enter: "SC start INTELHAXM" to open

1. Set Cpu/abi:intel Atom (x86) when creating a new simulator

Note: This processor can implement virtual hardware acceleration with INTELHAXM

2, start the simulator will find in the process of starting to prompt:

"Hax is working and emulator runs in fast virt mode" explains that virtual hardware acceleration has been turned on to speed up the emulator.

Or use the Genymotion Simulator!!!

Problems with Android Installation

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.