Reputation: 3
I learned that Support library 26 supports use of emojis. But when I use the support library as follows:
compile "com.android.support:support-emoji:26.0.1"
I get this error:
and when I click Install Repository and sync project
nothing happens. Does anyone know what is wrong?
Upvotes: 0
Views: 402
Reputation: 456
You need to add google repository like below in build.gradle file for your application to make it work:-
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
Also check below url for more info:-
https://developer.android.com/topic/libraries/support-library/setup.html
Upvotes: 1