We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
编译时,AndroidDnsServer.defaultResolver(); 这行代码报错,提示:
AndroidDnsServer.defaultResolver();
IResolver r1 = AndroidDnsServer.defaultResolver(); ^ 需要: Context 找到: 没有参数 原因: 实际参数列表和形式参数列表长度不同
看了源码,需要传入 Context,然而文档里没有提到需要传这个,也没讲如何获取
The text was updated successfully, but these errors were encountered:
@Lyrillind 可以使用getContext()获取上下文,也可以使用getApplicationContext()。
Sorry, something went wrong.
No branches or pull requests
编译时,
AndroidDnsServer.defaultResolver();
这行代码报错,提示:看了源码,需要传入 Context,然而文档里没有提到需要传这个,也没讲如何获取
The text was updated successfully, but these errors were encountered: