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 trial

Android

Error in Android Studio

I am getting the following error in android studio when I try to run the ribbit app.

C:\Users\Rohit\AndroidStudioProjects\Ribbit\app\src\main\AndroidManifest.xml:0:0 Error: uses-sdk:minSdkVersion 14 cannot be smaller than version L declared in library com.android.support:support-v13:21.0.0-rc1

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed with multiple errors, see logs

Can someone please tell me what is wrong

1 Answer

Sean Kingery
Sean Kingery
12,874 Points

Try going into your apps build.gradle and change the line that says compile 'com.android.support:support-v13:+' to compile 'com.android.support:support-v13:20.+'

This worked for me. It seems that the project is set to include the version of the library that is android L only and setting it to a different version fixed the problem. I hope this helps!