Android L 64bit preview is coming! Android L simulator configuration and Project Creation
Android L:
Android LIt may be Android Lollipop (4.5 or 5.0), because Google has always named it for dessert.
It is said that the Nexus 6 and Nexus 9 should be launched at the Google conference on the 15th or 16th of middle October, both of which 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. (I have been looking forward to Nexus9 for a long time. I hope the metal body will work)
Google released the Android L 64-bit preview simulator image on December 10.9 yesterday, but 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:
I have successfully installed a 64-bit simulator and run it according to the official documents of Google.
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.
There is a small problem during the operation, that is, if the simulator skin is too large, it will lead to black screen failure to start up. I don't know whether it is for some reason or not. My solution is to select the skin below WVGA800.
Create a project:
If you create a project, directly translate the official website documents below:
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:
This topic is used to allow all clicks to produce effects similar to water prints or sound waves.
Summary:
I don't know what the computer problem is. The simulator is relatively slow and often does not respond, but it can be used barely.
The configuration and Android L are running on the company's computer. You can add them in a few days.
After a month of rest, I began to become lazy and did not know what to write. Android L was about to be launched soon, followed by Android Watch and Android TV, now there is nothing to write.