Android L:
Android L may be Android Lollipop (4.5 or 5.0), because Google has always been named after the dessert for its version.
It is said that in mid-October, the 15 or 16th Google launch should be launched in the Nexus 6 and Nexus 9, both of which are powered by Android L, and the Nexus 9 should be equipped with Navidia 64-bit CPU, And the previous NEXUS5 and 7 should receive an upgrade push. (Looking forward to NEXUS9 for a long time, hope metal body AH)
Yesterday at 10.9th, Google released the Android 64-bit preview of the emulator image, but it is Intel 64-bit, not arm, ARM estimates will be out later.
According to Google, the 64-bit version of Android L will increase the amount of available memory space, allow a larger number of registers, and introduce a new set of instructions. These features do not provide a particularly appealing factor for developing 64-bit apps, but from an operating system perspective, 64-bit versions of Android will be faster and more stable than the 32-bit version.
To set up a 64-bit emulator:
I have successfully installed a 64-bit simulator and run it according to Google's official documentation
You can look directly at the official document Https://developer.android.com/preview/setup-sdk.html, see my next steps are also OK.
1. Download the SDK
1.1. Open the Android SDK Manager
1.2. Update the Android SDK Tools, Platform-tools, and Build-tools to the latest
1.3. Download all content in Android L Developer preview Package
1.4. Download Extras
2. Setting the AVD
2.1. Install the Intel HAXM just below in the Extras folder in the SDK directory.
2.2. Open Avd,device Select: Nexus 5 or Nexus 7
2.3.Target selection: Android L (Preview)-API level L
2.4.CPU selection: Intel Atom (x86_64)
The simulator is set up so that if you set up a 32-bit simulator, you can omit 1.4 and 2.1, and choose Non-Intel Atom (x86_64) when choosing the CPU.
There is a small problem at run time, that is, the simulator skin selection is too large, it will cause the black screen can not start, do not know whether it is a specific reason or all this. My treatment is to choose the skin below WVGA800.
To create a project:
For the creation of the project, I will directly translate the official website document below:
It's easier to use Android studio to create an L Developer Preview project.
In the initial creation interface:
1. Select Phone and Tablet
2. Select API 20+: Android L (Preview) in Minimum SDK.
Once created, open the Build.gradle file and make sure that it looks like this:
- Compilesdkversion is set to
‘android-L‘
- Minsdkversion is set to
‘L‘
- Targetsdkversion is set to
‘L‘
Values/styles.xml and modify it into material theme:
<span style= "FONT-SIZE:18PX;" ><resources> <style name= "Apptheme" parent= "android:Theme.Material" > <!--Customize your Theme-- </style></resources></span>
The theme is to make all clickable places produce similar effects like a watermark or a sonic wave.
Summarize:
Do not know the computer problem or what, simulator comparison card, and often do not respond, but can barely use.
Configuration and Android L run on the company computer, a few days to fill up.
Before the blog break for one months, after the holiday began to make lazy and do not know what to write, just the Android L will be launched soon, followed by Android Watch, Android TV, now worry about nothing to write.
The
Android L 64bit Preview is coming! Android L Simulator configuration and create project