生成签名的捆绑包:构建捆绑包文件时出错. “其他"具有不同的根源 [英] Generate Signed Bundle: Errors while building Bundle file. 'other' has different root

查看:183
本文介绍了生成签名的捆绑包:构建捆绑包文件时出错. “其他"具有不同的根源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试生成签名捆绑包时,发生以下错误.注意:我将Android Studio 3.6.3更新为版本4.0,并将Gradle构建更新为6.1.1后,会发生错误. * 什么地方出了错: 任务':app:signReleaseBundle'的执行失败.

The following error occur when I tried to Generate Signed Bundle. Note: Error occurs after I updated my android studio 3.6.3 to version 4.0 and Gradle build to 6.1.1. * What went wrong: Execution failed for task ':app:signReleaseBundle'.

执行com.android.build.gradle.internal.tasks.Workers $ ActionFacade时发生故障 其他"具有不同的根源

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade 'other' has different root

推荐答案

与此处相同.看起来它不喜欢构建到另一个驱动器号. 即密钥存储路径在D:上,而目标文件夹在E:上,我得到消息其他"具有不同的根.请注意,无论如何,该文件似乎都是在E:上生成的. 当我将目标文件夹更改为D时:没事.

Same here. Looks like it does not like to build to another drive letter. i.e. Key store path is on D: and destination folder on E: and I get the message 'other' has different root. Note that the file seems to be produced on E: anyway. When I change destination folder to D: it's all ok.

这篇关于生成签名的捆绑包:构建捆绑包文件时出错. “其他"具有不同的根源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆