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

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


The error is caused by the fact that one of the libraries uses an attribute with the same name as in the support-compat-27.0.0

Ошибка связана с тем что одна из библиотек использует аттрибут с таким же именем как и в support-compat-27.0.0
Find the duplicate with Notepad++




1 - Gradle caches
Default location:     %USERPROFILE%\.gradle\caches
In my case: C:\b\caches\


Ok. Now delete
implementation 'ayar.oktay.library:advancedtextview:0.4.5'
or
compile 'ayar.oktay.library:advancedtextview:0.4.5'

Install this library locally, delete or rename  "font" attr

Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex


android {
 
...
defaultConfig {
 ...
 multiDexEnabled true
} 
 
}

NOX APK FILE EXTRACTOR

adb connect 127.0.0.1:62001
adb -s 127.0.0.1:62001 shell pm list packages
adb -s 127.0.0.1:62001 shell pm path com.your_package_name.app

adb -s 127.0.0.1:62001 pull -a /data/app/com.your_package_name.app-1.apk %HOMEPATH%\Desktop
pause