# Unity - Main manifest has <uses-sdk android:minSdkVersion='9'> but library uses minSdkVersion='17'

I got this error message when trying to build and run for Android.

Error: [Temp/StagingArea/AndroidManifest-main.xml:22, /Users/MNurdin/Documents/unity/TangoMotion/Temp/StagingArea/android-libraries/google-unity-wrapper/AndroidManifest.xml:3] Main manifest has but library uses minSdkVersion='17' UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Where I can set android:minSdkVersion inside Unity? I'm using Unity5 right now. Please advice.

Read this section of the manual, then change **TARGETSDKVERSION** to your desired number in mainTemplate.gradle, such as 22, 23, etc.