Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPaolo 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,413 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...