When i try to create a new Master/Detail flow activity in Android Studio i am told "The activity Master/Detail Flow has a minimum SDK level of 11.". I understand why this is, but I don't understand why i am being prevented from creating this activity as the min SDK as defined by my AndroidManifest.xml is 11.
I created with a lower minimum but have since changed to 11. When i create a new project with a miniumum of 11, and then change the manifest to use 7 as min SDK I can create a new Master/Detail flow activity. This makes me think there is a project property i need to change, but I cannot find it!
I have tried so far:
This may be late answer but i found same problem.
Here is solution. On your build.gradle there will be following line
android {
compileSdkVersion 17
buildToolsVersion "17.0.0"
defaultConfig {
minSdkVersion 8
targetSdkVersion 16
}
}
just change minSdkVersion to 11 and click "Sync Project with Gradel File" icon, then try to create Activity again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With