I have a android library with com.android.support:appcompat-v7:23.0.1
dependency in the gradle with compliedSDK of 23
I have following doubts
case 1) Say any applicaion with different version com.android.support:appcompat-v7:23.3.0
uses my library.
- which version does the android take? Lower one or Higher one? How do i see it?
- How do i make sure there is no conflict of v7 appcompat when any app uses my library?
case 2) Say any applicaion with different version com.android.support:appcompat-v7:25.0.1
or com.android.support:appcompat-v7:24+
and different compiledSDk(24 or 25) uses my library.
I know that The support library should not use a different version than the compileSdkVersion
.
- How does the android merge the support libraries now? (Since the support library version(
appcompat-v7:23.0.1
) of my library is different from that of the application's compiledSDK (25) ) - How do i make sure there is no conflict of v7 appcompat when any app uses my library?
Anyone Please clear my doubts