Java/Android

102_안드로이드 Typekit 에러

우오우어아오앙 2017. 12. 5. 10:53
728x90

Typekit 에러


\.gradle\caches\transforms-1\files-1.1\appcompat-v7-26.1.0.aar\8e67cf26e0bfacf4d1cc28016c6d0143\res\values\values.xml

Error:(246, 5) error: duplicate value for resource 'attr/font' with config ''.

Error:(246, 5) error: resource previously defined here.

\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml

Error:(525) duplicate value for resource 'attr/font' with config ''.

Error:(409) resource previously defined here.

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


build.gradle 수정


dependencies {
compile 'com.tsengvn:typekit:1.0.1'
}


아래와 같이 변경한다


allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}

dependencies {
compile 'com.github.katoro:typekit:1.0.1'
}


출처

https://jitpack.io/#katoro/typekit/1.0.1

728x90
반응형