How to install android N on any android smartphone

Test on a Device


To run and test your app on the new platform you need to set up an Android N runtime environment. You can do that in either of these ways:

  • Install Android N on a supported hardware device, or
  • Set up an Android emulator running Android N
If you want an environment for basic compatibility testing of your app on the new platform, all you need is your current APK and a hardware device or emulator. You don't necessarily need to update your full development environment to do basic testing.

If you want to modify your app to target Android N or use new Android N APIs, you need to set up a development environment that's updated to support Android N. Set Up to Develop for Android N has details.

Set up a hardware device


The N Developer Preview offers system updates for a range of hardware devices that you can use for testing your app, from phones to tablets and TV.
If you have access to a supported device, you can update it to a Developer Preview milestone build in one of these ways:
  • Enroll the device in automatic OTA system updates through the Android Beta Program. Once enrolled, your device will receive regular over-the-air (OTA) updates of all milestone builds in the N Developer Preview. This approach is recommended because it lets you seamlessly transition from your current environment through the various releases of the N Developer Preview.
  • Download a Developer Preview system image and flash the device. OTA updates are not provided automatically for devices that you flash manually, but you can enroll those devices in Android Beta Program to get OTA updates.

Enroll the device in automatic OTA updates

If you have access to a supported device (see the list in the Downloads table), you can receive over-the-air updates to preview versions of Android by enrolling that device in the Android Beta Program. These updates are automatically downloaded and will update your device just like official system updates.
You can un-enroll a device at any time. The device will receive an OTA update to the most recent production version of Android available for that device (for example, Android 6.0 Marshmallow). The update requires a full device reset, so user data on the device will be removed. Make sure to back up important data before un-enrolling a device.
For more information and to enroll your device, see the Android Beta Program web site.
Note: Un-enrolling requires a full device reset. Back up important data first.

Flashing a device manually


          
  At any time you can download the latest Developer Preview system image and manually flash it to your device. See the table below to download the system image for your test device. Manually flashing a device is useful if you need precise control over the test environment or need to reinstall frequently, such as for automated testing.
Installing a system image on a device removes all data from the device, so you should back up your data first.
After you back up your device data and download the system image below that matches your device, follow the instructions at developers.google.com/android to flash the image onto your device.
Manually flashed system images do not automatically receive OTA updates to later Developer Preview milestone builds. Make sure to keep your environment up-to-date and flash a new system image at each Developer Preview milestone.
If you decide you want to get OTA updates after manually flashing a device, all you need to do is enroll the device in the Android Beta Program. You can enroll the device at any time to receive the next Preview update over the air.
Device Download / Checksums
Nexus 5X
"bullhead"
bullhead-npd35k-factory-5ba40535.tgz
MD5: b6c5d79a21815ee21db41822dcf61e9f
SHA-1: 5ba4053577007d15c96472206e3a79bc80ab194c
Nexus 6
"shamu"
shamu-npd35k-factory-a33bf20c.tgz
MD5: e1cf9c57cfb11bebe7f1f5bfbf05d7ab
SHA-1: a33bf20c719206bcf08d1edd8da6c0ff9d50f69c
Nexus 6P
"angler"
angler-npd35k-factory-81c341d5.tgz
MD5: e93de7949433339856124c3729c15ebb
SHA-1: 81c341d57ef2cd139569b055d5d59e9e592a7abd
Nexus 9
"volantis"
volantis-npd35k-factory-2b50e19d.tgz
MD5: 565be87ebb2d5937e2abe1a42645864b
SHA-1: 2b50e19dae2667b27f911e3c61ed64860caf43e1
Nexus 9G
"volantisg"
volantisg-npd35k-factory-2e89ebe6.tgz
MD5: a8464e15c6683fe2afa378a63e205fda
SHA-1: 2e89ebe67a46b2f3beb050746c13341cd11fa678
Nexus Player
"fugu"
fugu-npd35k-factory-1de74874.tgz
MD5: c0dbb7db671f61b2785da5001cedefcb
SHA-1: 1de74874f8d83e14d642f13b5a2130fc2aa55873
Pixel C
"ryu"
ryu-npd35k-factory-b4eed85d.tgz
MD5: bdcb6f770e753668b5fadff2a6678e0d
SHA-1: b4eed85de0d42c200348a8629084f78e24f72ac2
General Mobile 4G (Android One)
"seed"
seed_l8150-npd35k-factory-5ab1212b.tgz
MD5: 7d34a9774fdd6e025d485ce6cfc23c4c
SHA-1: 5ab1212bc9417269d391aacf1e672fff24b4ecc5
Sony Xperia Z3
(D6603 and D6653)
Download: Xperia Companion
For more information, see Try Android N Developer Preview for Xperia Z3.

Uninstalling the Preview from a device

If you want to uninstall the preview from a device, you can do so in one of these ways:
  • Obtain a factory spec system image and then manually flash it to the device.
    • For Nexus devices and Pixel C devices, see the Factory Images for Nexus Devices page for downloads.
    • For other devices, please contact the device manufacturer directly. Alternatively, if the device is supported in the Android Beta Program, you can enroll the device in the program and then un-enroll it (see below).
  • Un-enroll the device from Android Beta Program. If the device is enrolled in the Android Beta Program, regardless of device, you can simply un-enroll it from the program. The device will receive an OTA update to the most recent production version of Android available for that device (for example, Android 6.0 Marshmallow). The update requires a full device reset, so user data on the device will be removed. Make sure to back up important data before un-enrolling a device.
Note: Uninstalling a Developer Preview system image prior to the end of the program requires a full device reset and removes all user data on the device.

Set up an emulator


To use the Android Emulator to run the Android N Preview, you need to download the Android N Preview SDK and create a virtual device for the emulator.
First, download the Android N Preview SDK as follows (if you already got it while setting upto develop for Android N, you can skip this part):
  1. In Android Studio, open the Settings dialog (File > Settings on Windows/Linux, or Android Studio > Preferences on Mac). In the left panel, select Appearance & Behavior > System Settings > Android SDK.
  2. Click the SDK Platforms tab, then select the Android N Preview check box.
  3. Click the SDK Tools tab, then select the Android SDK Build Tools, Android SDK Platform-Tools, and Android SDK Tools check boxes.
  4. Click OK and accept the license agreements for any packages to be installed.
You should now have Android SDK Built-Tools 24.0 0 rc1, Platform-Tools 24.0.0 rc1, and SDK Tools 25.0.9. If you do not update the SDK Tools to 25.0.9, then you won't be able to run the x86_64 system images for Android N.
Now create a virtual device with the Android N system image:
  1. Open the AVD Manager by selecting Tools > Android > AVD Manager.
  2. Click Create Virtual Device.
  3. Select a device such as Nexus 5X, Nexus 6P, Nexus 9, or Android TV, then click Next.
  4. Select the N system image (with the x86 ABI), then click Next. (Only x86 system images are currently supported with the Android Emulator for the Android N Preview.)
  5. Complete the rest of the AVD configuration and click Finish.
You can now launch the Android Emulator with the Android N Preview AVD.
For the best experience in the Android Emulator, make sure you're using Android Studio 2.1 or higher, which supports Android Emulator 2.0 with much faster performance compared to the emulator in Android Studio 1.5.
For more information about creating virtual devices, see Managing Virtual Devices.

Enregistrer un commentaire

[blogger][disqus][facebook]

MKResezign

{facebook#https://web.facebook.com/mymobitips/} {twitter#https://twitter.com/adildigital1} {google-plus#https://plus.google.com/u/0/b/117276025272442517960/+MyapkplanetBlogspot} {youtube#https://www.youtube.com/channel/UCy57mpbhi9RYNKFJhiGw8ag}

Formulaire de contact

Nom

E-mail *

Message *

Fourni par Blogger.
Javascript DisablePlease Enable Javascript To See All Widget