I added the following line to my build.gradle(Module:app):
compile \'com.android.support:design:25.4.0\'
But when executing Gradle I\'m ge
This problem occurs when there is andoridtestImplementation
is added in app.build.
Remove testImplementation
,androidTestImplementation
from the app.build, that solves this issue.
There is no library by that name. There is com.android.support:recyclerview-v7:25.4.0.
Failed to resolve com.android.support:support-compat:25.4.0
Failed to resolve com.android.support:support-core-ui:25.4.0
I am trying to include this library to my project by adding
compile 'jp.wasabeef:recyclerview-animators:2.2.7'
so remove this line from gradle
my error just resolved
You need to update the android support Repository in the SDK manager . Also the Design Library depends on the Support v4 and AppCompat Support Libraries.
Same version android support must be the same with others..
compile 'com.android.support:appcompat-v7:25.3.1' <-- same
compile 'com.android.support:design:23.3.1' <-- same
Above answers did't resolve anything for me.
Problem found :
Sdk Support Repository was corrupted
.
Fix:
Go to the SDK manager, click the "SDK Tools" tab. If the check-mark for "Support Repository" is selected, unselect it and click OK. This will delete all of the files in the repository. Then recheck the check-mark, click GO and reinstall the repository.
after adding :
maven {
url "https://maven.google.com"
}
make sure your Gradle sync is on ONLINE mode you can check it from:
Android studio -> Preferences -> Build, Execution, Deployment -> Gradle -> Offline work (make sure this check box is not selected)