Adding App compact v7 library gives an error

I am using vroid v13 support library so far, which worked fine. Now I need to add a custom toolbar for which I am adding a compact application library to my project. But when I add compile 'com.android.support:appcompat-v7:23.1.0'gradle to my file, it gives my error 128 for a duplicate or missing variable in the values ​​folder. Not sure how to remove it.

Below are the dependencies for my library project, where I add a compact application library

dependencies {
    compile 'com.google.guava:guava:18.0'
    compile files('libs/androidannotations-api-2.7.jar')
    compile files('libs/commons-codec.jar')
    compile files('libs/sqlcipher.jar')
    compile 'com.android.support:appcompat-v7:23.1.0'
}

Below are the dependencies in my project

dependencies {
    compile project(':projFramework')
    compile files('lib/PatchServices.jar')
    compile files('lib/analyticsmonitor.jar')
    compile files('lib/android-support-v13.jar')
    compile files('lib/bugsense-3.6.1.jar')
    compile files('lib/robospice-1.2.0.jar')
}
Errors were shown

121 .

Update

Changing compileSdkVersion and targetSdkVersion to 23 only reduced the number of errors. But still I get an error.

C:\UserData\AndroidStudioWorkspace\Proj\projFramework\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.1.0\res\values\values.xml
Error:(2) Attribute "buttonStyle" has already been defined
Error:Execution failed for task ':projFramework:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\UserData\Android\android-sdk-windows-update\android-sdk-windows\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1
Information:BUILD FAILED
Information:Total time: 2.611 secs
+4

Source: https://habr.com/ru/post/1612430/


All Articles