Android Studio 3.2.Gradle 4.6
В моих gradle.properties :
android.useAndroidX=true
android.enableJetifier=true
Я хочу перейти на AndroidX.Поэтому в меню выберите
Refactor -> Migrate to AndroidX
Studio замените многие из моих ресурсов на androidx...
Приятно.Но когда я строю проект, я получаю ошибку:
:app:mergeDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed
Output: D:\dev\MyProject\\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1614: error: duplicate value for resource 'attr/mode' with config ''.
D:\dev\MyProject\\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1614: error: resource previously defined here.
Command: C:\Users\Alexei\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\1140ed5d6b762801720aa38b75493b72\aapt2-3.2.1-4818971-windows\aapt2.exe compile --legacy \
-o \
D:\dev\MyProject\\app\build\intermediates\res\merged\debug \
D:\dev\MyProject\\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml
Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
Output: C:\Users\Alexei\.gradle\caches\transforms-1\files-1.1\jetified-swipe-reveal-layout-1.4.1.aar\9897ef13e78d1b3a157ca2f1633442ed\res\values\values.xml:3:5-414: AAPT: error: duplicate value for resource 'attr/mode' with config ''.