Android_L (64bit) Simulator configuration and Project Creation

Source: Internet
Author: User
Tags android sdk manager

Android_L (64bit) Simulator configuration and Project Creation


Android LIt may be Android 5.0. Android Watch and Android TV will follow.


It is said that the Nexus 6 and Nexus 9 should be launched at the Google Conference on November 15, middle October. Both new products are equipped with Android L, the Nexus 9 should be a 64-bit CPU equipped with Navidia, and the previous Nexus5 and 7 should be pushed to the upgrade.


On November 10.9, Google released the Android L 64-bit preview version of the simulator image. It is Intel 64-bit, not ARM, and ARM will probably come out later.

According to Google, the 64-bit version of Android L will increase the amount of available memory space, allow more registers, and introduce a new instruction set. For 64-bit apps development, these features do not provide a particularly attractive factor, but from the operating system perspective, the 64-bit Android version is faster and more stable than the 32-bit version.



Set a 64-bit simulator:


For more information, see the official document https://developer.android.com/preview/setup-sdk.html.


1. Download the SDK

1. Open Android SDK Manager

1. 2. Update Android SDK Tools, Platform-tools, and Build-tools to the latest version.

1. 3. Download all content in the Android L Developer Preview package

. Download the Intel x86 Emulator Accelerator (HAXM installer) in Extras ).


2. Set AVD

2. 1. Go to the Extras folder in the SDK directory and install the Intel HAXM file.

2. Open AVD and select Nexus 5 or Nexus 7 as the Device.

2.3.Target: Android L (Preview)-API Level L

2.4.CPU Selection: Intel Atom (x86_64)


The simulator is configured in this way. If you set a 32-bit simulator, You can omit 1.4 and 2.1, and select a non-Intel Atom (x86_64) when selecting the cpu.



Create a project:


Using Android Studio, you can easily create an L Developer Preview project.

On the initial creation page:

1. Select Phone and Tablet

2. Select API 20 +: Android L (Preview) in Minimum SDK.


After the creation, open the build. gradle file and make sure that the file is as follows:

  • compileSdkVersionIs set'android-L'
  • minSdkVersionIs set'L'
  • targetSdkVersionIs set'L'To use a material topic, open values/styles. xml and modify it to a material topic:

    [Html]View plaincopyprint?
    1.          
            
           

      This topic is used to allow all clicks to produce effects similar to water prints or sound waves.



      In general, the simulator is relatively slow and often has no response, but it is barely usable.


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.