Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'com.teprinciple:updateapputilsx:2.3.0' Android11 无法安装问题 #94

Open
Android0025 opened this issue Dec 23, 2021 · 1 comment
Open

Comments

@Android0025
Copy link

如果自己项目中可能会Failed to find configured root that contains 错误,
解决:
String path=getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() ;
UpdateConfig updateConfig = new UpdateConfig();
updateConfig.setApkSavePath(path);

FileProvider:



@AIYO77
Copy link

AIYO77 commented Oct 20, 2022

image
默认就有这段代码,不是路径导致的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants