Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Paolo Hoyumpa
1,170 PointsError:installation failed since app’s minSdkVersion (API 23, N preview) is newer than device’s API level (API 21)
installation failed since app’s minSdkVersion (API 23, N preview) is newer than device’s API level (API 21)
3 Answers

Andre' Jones
26,671 PointsTry changing your minSdk Version in your manifest file to 21 or below.

Seth Kroger
56,407 PointsYou're using the preview version of the future Android N that was released recently for testing/evaluation purposes. That version is experimental at this point and using version N for the SDK will only work with a Version N emulator image. You want to reduce any of the SDK versions in the manifest/gradle files to be no higher that 23.

Paolo Hoyumpa
1,170 PointsThanks a lot guys! Its working now...