RSS Feed

Minimum Android API Level

This is better on my website

If like me you used a method only supported by a higher API level than your currently set API – this is the way you fix it.


First go to AndroidManifest and add something like below (set it to your desired API’s)

<manifest xmlns:android=”;

package=”” >
android:targetSdkVersion=”18″ />


Second if that does not work after cleaning and rebuilding your project find the build.gradle file for your project. If you open it in Notepad you will see somewhere your API settings. Just change the text to your API version.


Leave a Reply

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

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

Google photo

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

Twitter picture

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

Facebook photo

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

Connecting to %s

%d bloggers like this: