2016年5月26日

android studio发布公共类库到服务器maven仓库

摘要: 在上一篇中提到了怎么创建私有maven库,这篇主要结合android studio的使用,直接进入正题,看以下步骤 1.创建android项目 创建Project,然后加一个library的module,此处省略一万字了 2.配置gradle 在项目的gradle.properties里面配置基本信 阅读全文

posted @ 2016-05-26 15:19 木头平 阅读(2291) 评论(0) 推荐(0) 编辑

创建私有maven库

摘要: 在公司搭建私有maven库,我为了在本机做测试,我选择Sonatype nexus oss,在docker里面安装 1.Mac上安装docker 下载地址:https://github.com/boot2docker/osx-installer/releases 打开安装包,下一步直到安装完成,没有 阅读全文

posted @ 2016-05-26 14:04 木头平 阅读(708) 评论(0) 推荐(0) 编辑

2016年5月19日

crontab

摘要: 好久没有开发后台服务器了,今天想想有必要去总结一下之前发生的意外 在symfony2开发的时候,需要开发定时脚本执行Command,这个命令需要在晚上十一点进行推送,命令如下: * 23 * * * php /home/wwwroot/test.ushopal.com/S.H.I.E.L.D./ap 阅读全文

posted @ 2016-05-19 18:50 木头平 阅读(169) 评论(0) 推荐(0) 编辑

通过命令打包apk

摘要: 平时使用android studio打包,方便快捷,对命令不太熟悉,但在上传apk包到应用市场时,需要认领apk,“认领页的【选择APK】”不是上传您要更新的APK应用文件,而是下载我们提供的空包文件【unsign.apk】,您需要将其做数字签名,需要和您将要认领的线上应用的签名一致。 所以我们需要 阅读全文

posted @ 2016-05-19 18:22 木头平 阅读(756) 评论(0) 推荐(0) 编辑

2016年5月10日

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

摘要: 在运行app的时候java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState,这个问题出现的现象是在app打开的时候有Dialog(也可以是其它)弹出,让activity执行了onSav 阅读全文

posted @ 2016-05-10 13:49 木头平 阅读(172) 评论(0) 推荐(0) 编辑

android studio Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"

摘要: android studio运行会遇到Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"的错误 解决办法是 android studio里点开Preferences ->Build,Execut 阅读全文

posted @ 2016-05-10 12:30 木头平 阅读(4235) 评论(0) 推荐(0) 编辑

2016年5月9日

org.gradle.api.publication.maven.internal.DefaultMavenFactory错误

摘要: Error:Unable to load class 'org.gradle.api.publication.maven.internal.DefaultMavenFactory'. Possible causes for this unexpected error include:<ul><li> 阅读全文

posted @ 2016-05-09 18:21 木头平 阅读(1819) 评论(0) 推荐(0) 编辑

Maven group, artifact or version defined in the pom file do not match the file ...

摘要: 在把library上传到bintray空间的时候报以下错误 Could not upload to 'https://api.bintray.com/content/ping/maven/comm-adapter/0.0.1/com/ping/adapter/commadapter/commadap 阅读全文

posted @ 2016-05-09 17:55 木头平 阅读(684) 评论(0) 推荐(0) 编辑

2016年5月8日

android支付

摘要: 这里不讲具体的某个平台的支付使用,在工作中,公司使用到了ping++支付,使用它的好处是可以不用关心某个平台的支付了,例如:微信支付、支付宝支付等,太多的平台有个整合,是一个很好的事情,当然这也减轻了开发者的痛苦。 1.ping++支付流程 【声明】 欢迎转载,但请保留文章原始出处 博客地址:htt 阅读全文

posted @ 2016-05-08 17:12 木头平 阅读(303) 评论(0) 推荐(0) 编辑

andfix使用

摘要: 1.andfix简介 AndFix是一个Android App的在线热补丁框架。使用此框架,我们能够在不重复发版的情况下,在线修改App中的Bug。AndFix就是 “Android Hot-Fix”的缩写。 就目前来说,AndFix支持Android 2.3到6.0版本,并且支持全平台系统架构的设 阅读全文

posted @ 2016-05-08 16:34 木头平 阅读(836) 评论(0) 推荐(0) 编辑

导航