java.io.FileNotFoundException: /data/user/0/**/cache/img1.jpg: open failed: ENOENT 问题解决

版权声明:本文为博主原创文章,转载请注明。 https://blog.csdn.net/qq_34698126/article/details/68488812
file = new File(MyApplication.getmContext().getCodeCacheDir().getAbsolutePath() + "/" + bitName);



使用getCodeCacheDir()这个路径管理就ok了。

猜你喜欢

转载自blog.csdn.net/qq_34698126/article/details/68488812