android - Error:Execution failed for task ':app:processDebugManifest' -
afer downloading new android sdk i'm getting following error:
"error:execution failed task ':app:processdebugmanifest'. > manifest merger failed : uses-sdk:minsdkversion 10 cannot smaller version 10 declared in library com.android.support:support-v4:21.0.0-rc1"
build.gradle:
dependencies { 'compile 'com.android.support:support-v4:20.+' 'compile 'com.android.support:appcompat-v7:19.+' }
i deleted entry <version>21.0.0</version>
in android-sdk-macosx/extras/android/m2repository/com/android/support-v4/maven-metadata.xml
i've found following bug on issue tracker. did not help.
i had same error. found solution.
dependencies { compile ('com.android.support:support-v13:20.0.0'){ force = true } compile ('com.android.support:support-v4:20.0.0'){ force = true } compile ('com.android.support:appcompat-v7:20.0.0'){ force = true } }
i think instead of 20.0.0, can specify different version if use less 20 targetsdkversion.
Comments
Post a Comment