Update or Create Project to support Android N(7.1)

Info reg your project update or creating a new project to support Android N devices.

Create New Project:

  1. Click File > New Project. and follow the steps until you reach the Target Android Devices page.
  2. On this page, select the Phone and Tablet check box.
  3. Under Phone and Tablet option, in the Minimum SDK option list, select API 25: Android 7.1 Preview.

Update existing Project:

open build.gradle files to update your project to support Android N

android {
  compileSdkVersion 25
  buildToolsVersion '25.0.0'

  defaultConfig {
     targetSdkVersion 25

More detail info refer Developer Android set up Android N7.1

Happy coding 🙂


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s