将android 本地组件/开源库发布到远程仓库 jitpack.io 首先呢,你的项目必须已经发布到了github,发布github进入github,选择releases,选择Create a new releases发布完成后,可以打开https://jitpack.io/,查看引用方法复制github的项目地址,粘贴到jitpack.io的搜索框,点击Look up—>Git it,然后就可以看到使用方法了,大功告成哒...
Could not read from remote repository 只需要将 id_rsa.pub 文件的内容添加到github的SSH keys1、复制本地 id_rsa.pub 文件的内容,本地 id_rsa.pub 文件的位置cd .ssh/vim id_rsa.pub将里边的内容复制2、在github新建 SSH keys点击头像下拉箭头,选择 Setting在左边的选项卡中选择 SSH and GPG keys选择 New SSH k...
将本地项目托管到github 将本地项目托管到github开发环境将本地项目托管到github1、初始化git2、初始化本地项目2.1、初始化本地git环境2.2、初始化说明文件2.3、提交到git大功告成哒开发环境开发工具:android studio3.2.1 gor mac终端工具:iTerm2还有你需要一个github账号,github将本地项目托管到github1、初始化git登录github,新建一个...
scp 上传下载文件 工具:Mac、iterm2*操作前必须断开与远程服务器的链接,操作远程服务器*错误:Permission denied ,无权限1、下载文件夹scp -P 服务器端口 -r 服务器登录账号@服务器ip:服务器文件夹路径 本地文件夹路径*红色字体部分需要替换 例:scp -P 1111 -r lucky@192.168.1.80:/home/lucky/demo/...
mac终端操作服务器 工具:Mac、iterm2scp上传下载文件:点击链接1、进入根目录cd ~2、链接服务器ssh -p 端口号 服务器用户名@服务器ip 回车后输入服务器密码Last login: Fri May 31 11:21:49 2019 from ***.***.****-p的p是小写*登出服务器:control + d3、查看服务器文件l...
二:本地项目托管到gitee - 分支管理(终端) 开发工具:Android studio 3.2.1 for Mac,终端工具:iTerm2一:本地项目托管到gitee - 第一次提交https://blog.csdn.net/qq_33152517/article/details/90694012命令行小结查看分支:git branch创建并切换分支:git checkout -b shur提交:git add .,...
一:本地项目托管到gitee - 第一次提交 开发工具:Android studio 3.2.1 for Mac,终端工具:iTerm2二:本地项目托管到gitee - 分支管理(终端)https://blog.csdn.net/qq_33152517/article/details/90713131命令行小结初始化git:git config --global user.name "你的名字或昵称" ...
Could not read from remote repository. 错误Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists,解决方案:1、执行命令open ~/.ssh,查看是否包含id_rsa.pub文件。2、存在id_rsa.pub文件跳到第三步,不存在id_rsa.pub...
gitee错误: remote gite already exists. 查看本地是否已关联了gitee远程仓库,执行命令git remote -v , 存在远程仓库,执行命令git remote rm gitee ,git remote add gitee <你的项目地址> //注:项目地址形式为:https://gitee.com/xxx/xxx.git或者 git@gitee.com:xxx/xxx.git,...
android_依赖篇:去重jar包 一:错误代码:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/gson/an
android 之Notification notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);Intent intent = new Intent(IslogInActivity.this,LogInActivity.class); PendingIntent pendingI
android 之 时间戳转时间 public static String getDateToString(long milSecond) { Date date = new Date(milSecond* 1000); SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); return format.format
android 之 Fragment 中使用 DialogFragment 创建回调 创建DialogFragment 继承 v4 . app . DialogFragment在oCreate 获取 接口事件onFrgDataListener = (OnFrgDataListener) getParentFragment();在Fragment中使用 getChildFragmentManagerbadgeChallenge.show(ge
android 之 6.0动态相册权限 ActivityCompat.requestPermissions(this,new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE},100);
android 之 读取本地json文件返回string public static String getJson(String fileName, Context context){ StringBuilder stringBuilder = new StringBuilder(); try { InputStream is = context.getAssets().open(fileName)
android 之 高德地图-定位-poi-marker package cn.shur.task.ui;import android.Manifest;import android.annotation.TargetApi;import android.content.Context;import android.content.DialogInterface;import android.content.pm.PackageManager
android之获取七天后的时间 @TargetApi(Build.VERSION_CODES.N)protected String getTime(){ dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.SE
adroid之跑秒 private CountDownTimer timer = new CountDownTimer(60000, 1000) { @Override public void onTick(long millisUntilFinished) { code_btn.setEnabled(false); code_btn