android开发出现错误:Failed to find configured root that contains

公司最近要求实现下载应用并弹出安装界面

在android8.0以上的手机上,读取共享文件时,如apk更新的编程中,我们把apk下载后,要安装时,去读取这个apk文件就出现了如下错误:
Failed to find configured root that contains ....巴拉巴拉巴拉

解决:在AndroidManifest文件中的


            
        

down_loadpaths 里没有root-path标签


    

内容配置成这样就好了

你可能感兴趣的:(android开发出现错误:Failed to find configured root that contains)