Skip to content

Commit 555cca9

Browse files
sth0409Blankj
authored andcommitted
fix bug
1 parent afaea3e commit 555cca9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/utilcode/src/main/res/xml/util_code_provider_paths.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,9 @@
2323
<external-media-path
2424
name="external_media_path"
2525
path="." />
26-
</paths>
26+
<!--配置root-path。这样子可以读取到sd卡和一些应用分身的目录,否则微信分身保存的图片,就会导致 java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/999/tencent/MicroMsg/WeiXin/export1544062754693.jpg,在小米6的手机上微信分身有这个crash,华为没有
27+
-->
28+
<root-path
29+
name="root-path"
30+
path="" />
31+
</paths>

0 commit comments

Comments
 (0)