4000-520-616
欢迎来到免疫在线!(蚂蚁淘生物旗下平台)  请登录 |  免费注册 |  询价篮
主营:原厂直采,平行进口,授权代理(蚂蚁淘为您服务)
咨询热线电话
4000-520-616
当前位置: 首页 > 新闻动态 >
热卖商品
新闻详情
在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\" 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)
公司介绍
品牌分类
联络我们
服务热线:4000-520-616
(限工作日9:00-18:00)
QQ :1570468124
手机:18915418616
官网:http://