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

初始化必闪退,代码有问题 #23

Open
juyao opened this issue Mar 20, 2020 · 0 comments
Open

初始化必闪退,代码有问题 #23

juyao opened this issue Mar 20, 2020 · 0 comments

Comments

@juyao
Copy link

juyao commented Mar 20, 2020

DLRunningQueue()构造方法里面有这一句
int normalMax = DLSettings.getInstance(null).getMaxDownloadCount(); 然后在DLSettings的构造方法里面 DOWN_PATH = mContext.getPackageName() + DOWN_PATH;`
mContext必然为空,会报空指针,不是很明白为什么要这么写?

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

1 participant