Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to resolve: com.github.Q42:AndroidScrollingImageView:1.3.3 #26

Open
chao9267 opened this issue Nov 3, 2018 · 2 comments
Open

Comments

@chao9267
Copy link

chao9267 commented Nov 3, 2018

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'
}

@chao9267
Copy link
Author

chao9267 commented Nov 4, 2018

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

@Felixcity35
Copy link

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'}
}
}
failed to resolve fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants