unity 2017.4 android sdk code example
Example: change android sdk version unity
Edit > Project Settings > Player. Under Per-Platform Settings, click the Android tab, and then click on Other Settings to expand the section. Change the Minimum API Level to Android 2.2 'Froyo' (API level 8) or higher