首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Payu货币支付网关

Payu货币支付网关
EN

Stack Overflow用户
提问于 2019-02-01 11:01:25
回答 1查看 703关注 0票数 0

我已经安装了“反应-本地-付费”。安装后,当我运行我的项目时,它会显示错误:-

任务执行失败“: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:错误:以前在这里定义的资源。

代码语言:javascript
复制
    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.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-02-06 14:00:24

尝试在android/app/build.gradle文件的依赖项部分添加这两行,它应该可以工作。

代码语言:javascript
复制
implementation 'com.android.support:design:28.0.0'

implementation 'com.android.support:support-v4:28.0.0'
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/54478136

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档