Failed to resolve: com.github.Q42:AndroidScrollingImageView:1.3.3
under project model (build.gradle) repositories { google() jcenter() maven { url 'https://jitpack.io' } }
under app model (build.gradle) dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' implementation 'com.github.Q42:AndroidScrollingImageView:1.3.3' }
Error:(251, 5) error: duplicate value for resource 'attr/speed' with config ''. Error:(3, 5) error: resource previously defined here. Error:(918) duplicate value for resource 'attr/speed' with config ''. Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details Error:Execution failed for task ':app:mergeDebugResources'.
Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Failed to resolve: com.github.Q42:AndroidScrollingImageView:1.3.3
i had same issue but i resolve mine by adding, maven { url 'https://jitpack.io'} in build.gradle(project )
repositories { google() jcenter() maven { url 'https://jitpack.io'} }
and
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io'}
}
}