0
点赞
收藏
分享

微信扫一扫

AnsroidStudio中提示:Failed to find configured root that contain


场景

在配置应用更新时下载完安装包之后进行安装中的提示:

 Error = Failed to find configured root that contain

 

AnsroidStudio中提示:Failed to find configured root that contain_示例代码

实现

在配置的file_path.xml中添加如下代码

<root-path name="root_path" path="."/>

完整file_path.xml示例代码

<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path
name="install_eric"
path="."/>
<root-path name="root_path" path="."/>
</paths>

 

举报

相关推荐

0 条评论