Questions tagged «build-variant»


5
收到错误消息-创建签名的APK时“条目名称'res / layout / test_toolbar.xml'发生冲突”
我今天将Android Studio从3.5.x更新到3.6,并在生成带有签名的apk的构建变体时出错,并显示以下消息- 条目名称“ res / layout / test_toolbar.xml”发生冲突我没有任何这样的布局整个项目中只有一个。我有一个名为“ stage ”的自定义构建变体,每当我尝试构建一个已签名的apk时,它总是会失败。我指望找到任何解决方案。请帮我解决这个问题。谢谢 更新: 这些以下消息也可能发生相同的问题(正如我在AS-3.6.1中发现的那样)。因此,不必担心这些未知且无法解决的消息。到目前为止,我在生成签名的apk时发现了两种新型消息: Entry name 'kotlin/collections/MapWithDefault.kotlin_metadata' collided Access Denied 解决方法是一样的。有时您可能需要为此使用Invalidate Cache and RestartAS。让我知道你的发现。谢谢
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.