http://blog.csdn.net/dark_gmn/article/details/49274993 ERROR:  Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from http://ruby.taobao.org/ - bad response Not Found 404 (http://ruby.taobao.org/specs.4.8.gz) 解决办法:换源…
执行换源操作 gem source -a https://gems.ruby-china.org/ 时报错: Error fetching https://gems.ruby-china.org/: bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz) 原因是服务域名更换了,打开报错地址:https://gems.ruby-china.org/,会有如下图提示,将org后缀改为com即可 解决办法: 将后缀.o…
今天安装了一个CocoaPods,在安装淘宝ruby是遇到了问题 bogon:~ zhch$ gem sources -a http://ruby.taobao.org/ Error fetching http://ruby.taobao.org/: bad response Not Found 404 (http://ruby.taobao.org/specs.4.8.gz) 在网上查询原因,说是网络不好,需要重试几次.我重试几次之后,依然报上边的错误. 后来发现是网址不对:http应该改成h…
安装cocoapods,记录两个问题! 1.镜像已经替换成了 http://ruby.taobao.org/, 还是不能不能安装cocoapods, 报错:Unable to download data from http://ruby.taobao.org/ - bad response Not Found 404 (http://ruby.taobao.org/latest_specs.4.8.gz) 如图: 原来是ruby.taobao.org已经停止基于 HTTP 协议的镜像服务, 启用…
xcode 10的情况下执行pod install报错了 RuntimeError - [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa. google 一下之后发现是因为项目中使用到了 Run Scrip…
在说这个解决方案之前,我先说下,目前遇到的问题: 我使用 sudo apt-get update 之后,更新失败.具体原因如下: W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/karmic/main/binary-i386/Packages.gz  404  Not Found [IP: 180.101.150.32 80] 意思是:上面的这个文件(Packages.gz)无法找到!   我通过打开网页http://cn…
我使用sudo apt-get update之后,更新失败,遇到如下错误. W: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/precise/main/source/Sources  404  Not Found W: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/precise/main…
使用CocoaPods更新第三方库出错的解决办法 执行完pod install或pod update之后,控制台抛出以下警告信息: [!] The xx [Debug] target overrides the PODS_ROOT build setting defined in Pods/Target Support Files/Pods-**/Pods-**.debug.xcconfig'. This can lead to problems with the CocoaPods insta…
分析原因:收到短信,sms表插入信息,触发器会自动更新thread表,更新失败导致一直有一条未读信息数量显示,但在会话列表中却看不到. (偶现,低概率. 解决方法:接收新信息插入后,立即查询thread表,如果刚刚的信息查不到,则再次手动更新)  android\packages\providers\TelephonyProvider\src\com\android\providers\telephony\MmsSmsDatabaseHelper.java中定义了触发器 private void…
SQL SERVER 2008 R2 SP1更新时,遇上共享功能更新失败的问题,可作如下尝试: 更新失败后,在windows的[事件查看器→应用程序]中找到来源为MsiInstaller,事件ID为10005的日志记录,如图: 其中标明了错误代码,即-2147467259.另有一条同样来源,事件ID为1023的日志: 其中标明了更新SP1的日志文件所在位置,打开该日志文件,搜索上一条日志中获得的错误代码-2147467259,第一个跳就发现了问题: 留意该错误代码的上一行,需要载入一个文件: C…