我已经安装了“反应-本地-付费”。安装后,当我运行我的项目时,它会显示错误:-
任务执行失败“:app:mergeDebugResources”。
com.android.builder.internal.aapt.v2.Aapt2Exception::Android资源编译失败输出: C:\Users\DELL\Desktop\Payu\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:981:错误:资源'attr/layout_anchorGravity‘with’的重复值。C:\Users\DELL\Desktop\Payu\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:981:错误:以前在这里定义的资源。
I tried to delete the attr/layout_anchorGravity .But when I run the project again it automatically installed. PLease help me to solve the isssue.发布于 2019-02-06 14:00:24
尝试在android/app/build.gradle文件的依赖项部分添加这两行,它应该可以工作。
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'https://stackoverflow.com/questions/54478136
复制相似问题