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:
compileSdkVersion
Is set'android-L'
minSdkVersion
Is set'L'
targetSdkVersion
Is set'L'
To use a material topic, open values/styles. xml and modify it to a material topic:[Html]View plaincopyprint?
-
-
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.