- 博客(5)
- 收藏
- 关注
原创 解决AndroidStudio从github上clone项目出现Clone failed: Could not read from remote repository.
今天在Android studio中clone github上的项目时,发现一直卡着clone不下来,点进Event log时发现一直报下面两句:下午8:29 Clone failed: Could not read from remote repository.下午8:32 Couldn't get the list of GitHub repositories: Read tim...
2018-07-12 23:11:58
4125
原创 使用hexo+github搭建我的博客
一、首先配置下载软件配置环境(mac版本)1.下载并安装node.js$ brew install node.js 或者去https://nodejs.org/en/下载 测试:$ node -vv8.10.02.下载并安装git$ brew install git 或者去https://git-scm.com/ 下载测试:$ git --versiongit version...
2018-07-11 00:27:51
624
转载 windows上安装ffmpeg
原文地址:http://helloway.blog.51cto.com/7666282/1642247一、FFmpeg下载:https://ffmpeg.zeranoe.com/builds/ 你可以根据自己的操作系统选择下载最新的32位或64位静态程序版本: 二、下载完成之后是解压,我是放在D盘的,所以在D盘新建了一个名叫ffmpeg的文件夹,并把解压的内容全部拷贝过来。三、配置环境变量右...
2018-05-21 14:45:42
3396
原创 java实现xml转换成json
网上比较流行的一种方式是使用XMLSerializer,一句代码实现xml转换成json。/** * xml转换成json * @param xml * @return */public static String xmlToJson(String xml){ XMLSerializer xmlSerializer = new XMLSerializer(); r...
2018-05-21 14:05:05
2591
原创 获取设备的sn号,mac地址以及IP地址
一.获取当前设备的sn号String rom_sn = "ro.serialno";String sn = android.os.SystemProperties.get(rom_sn);二.获取当前设备的mac地址public static String getMacAddress() { final String path = "/sys/class/net/eth0/address...
2018-05-20 17:37:57
6768
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人