SOLVED: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library

By: Ashley  

uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [Camera]

This simply means that one of your external libraries has specified a different minSdkVersion than the one you specified for your project. In this case, the camera library has specified a different minSdkVersion. It is therefore not enough to specify minSdkVersion in your AndroidManifest.xml file. Do a search on the whole project folder for files containing the text minSdkVersion to find the exact file. Once you find the file just change the minSdkVersion to the version you need in this case 21




Archived Comments


Most Viewed Articles (in Error )

SOLVED: Invalid command 'SSLCertificateFile', perhaps misspelled or defined by a module not included in the server

SOLVED: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration

Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute

Header requires three arguments - Apache cannot start

Why does my browser's search engine keeps changing back to yahoo?

SOLVED: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration

SOLVED: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

SOLVED: PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/

SOLVED: PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.

SOLVED: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library

Error starting solr: Error while waiting for a response from the agent: javax.ws.rs.InternalServerErrorException: HTTP 500 Server Error

Latest Articles (in Error)

Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute

Header requires three arguments - Apache cannot start

Why does my browser's search engine keeps changing back to yahoo?

Error starting solr: Error while waiting for a response from the agent: javax.ws.rs.InternalServerErrorException: HTTP 500 Server Error

SOLVED: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration

SOLVED: Invalid command 'SSLCertificateFile', perhaps misspelled or defined by a module not included in the server

SOLVED: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

SOLVED: PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/

SOLVED: PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.

SOLVED: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration

SOLVED: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library

Comment on this tutorial

Related Tutorials

Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute

Header requires three arguments - Apache cannot start

Why does my browser's search engine keeps changing back to yahoo?

Error starting solr: Error while waiting for a response from the agent: javax.ws.rs.InternalServerErrorException: HTTP 500 Server Error

SOLVED: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration

SOLVED: Invalid command 'SSLCertificateFile', perhaps misspelled or defined by a module not included in the server

SOLVED: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

SOLVED: PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/

SOLVED: PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.

SOLVED: Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration

SOLVED: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library