alibaba / atlas

A powerful Android Dynamic Component Framework.
Apache License 2.0
8.12k stars 1.48k forks source link

修复'java.lang.IllegalArgumentException: outDexFolder must be a folder' #356

Closed iDev01 closed 5 years ago

CLAassistant commented 5 years ago

CLA assistant check
All committers have signed the CLA.

iDev01 commented 5 years ago

一开始创建并没有用。 FileCache的createFile方法实现中,如果没有找到目标文件就会执行deletePath,然后创建父文件夹,调用fileCreator(也就是传进去的lambda表达式)。因此会导致outFolder所指向的文件夹不存在。 你可以去看看createFile具体实现。而且下面好几个都这样写了,唯独这一个没有这样写。

hwjump commented 5 years ago

thanks for your pr!

LeoCheung0221 commented 4 years ago

你好, 请问这个问题该如何解决呢