热卖商品
新闻详情
在Android中缺少/etc/resolv.conf-Android-CSDN问答
来自 : CSDN技术社区
发布时间:2021-03-25
I cross compiled my Go source code to Arm to run in Android .The program runs in the terminal in the Android device, but I get an error saying that /etc/resolv.conf is missing. My program heavily relies on the net/http library in making http calls.
How can I handle this error in Android?
点赞 写回答 收藏 复制链接分享 删除 再等等 结题 再想想 1条回答私信 访问主页
duandou8120 7年前As of right now you can\'t use the built in net/http to connect to hostnames, check this issue.
There are few workarounds you could use.
2014年3月1日code to Arm to run in Android .The program runs in the terminal in the Android device, but I get an error saying that /etc/resolv.conf is mi...android,CSDN问答为您找到在Android中缺少/etc/resolv.conf相关问题答案,如果想了解更多关于在Android中缺少/etc/resolv.conf、android技术问题等相关问答,请访问CSDN问答。在Android中缺少/etc/resolv.conf
本文链接: http://resolvan.immuno-online.com/view-771100.html
发布于 : 2021-03-25
阅读(0)
最新动态
2021-03-25
2021-03-25
2021-03-25
2021-03-25
2021-03-25
2021-03-25
2021-03-25
2021-03-25
2021-03-25
2021-03-25
2021-03-25
2021-03-25