zoukankan      html  css  js  c++  java
  • 真机调试报错error ==Error Domain=NSURLErrorDomain Code=-1009 "似乎已断开与互联网的连接。"

    真机调试报错error ==Error Domain=NSURLErrorDomain Code=-1009 "似乎已断开与互联网的连接。"

    请注意,错误代码是-1009,网上关于网络链接查询错误代码的网站很多,查询一下,会发现

    -1009

    kCFURLErrorNotConnectedToInternet

    NSURLErrorNotConnectedToInternet

    “The connection failed because the device is not connected to the internet.”

    看清楚了吧,“The connection failed because the device is not connected to the internet.”,没错就是我的真机忘记了链接WiFi(我想接下来你知道该干什么了吧,打开手机链接WiFi啊),这种低级的错误也会犯,真是有一万个草泥马在我心里奔腾啊,在此博主警告广大开发的队友们,千万要细心啊,别给自己埋坑啊!

  • 相关阅读:
    opengl编程指南
    Binder机制1---Binder原理介绍
    [Android]使用platform密钥来给apk文件签名的命令
    IntentFilter
    最高分是多少
    Spring注入
    Bean容器的初始化
    Spring中的Junit
    IOC
    接口及面向接口编程
  • 原文地址:https://www.cnblogs.com/sunfuyou/p/7125115.html
Copyright © 2011-2022 走看看