http://androidxref.com/
http://aospxref.com/
android源码网址
sudo sshfs dev03@192.168.67.103:/home/dev03/Ryoma/F4L_Qssi /home/ts/Videos/1122
ssh dev03@192.168.67.103 -p 20003
./gradlew compileDebug --stacktrace -info --scan
查看具体的编译报错
windows cmd 环境 adb logcat findstr 有时候会出现 写入错误,需要设置一下语言编码 CHCP 65001 ,设置为UTF-8编码
命令行中,有个命令是chcp,这个命令是用来显示当前活动代码页编号的,
ANSI的编码环境的代号是936
utf-8编码的65001
执行:CHCP 65001就设置成utf-8编码的了
Android SDK AndroidStudio 国内可用的镜像/代理地址
http://www.androiddevtools.cn/ 一站式下载地址,齐全
Android SDK在线更新镜像服务器
1.中国科学院开源协会镜像站地址:
◦IPV4/IPV6: mirrors.opencas.cn 端口:80
◦IPV4/IPV6: mirrors.opencas.org 端口:80
◦IPV4/IPV6: mirrors.opencas.ac.cn 端口:80
2.上海GDG镜像服务器地址:
sdk.gdgshanghai.com 端口:8000
3.北京化工大学镜像服务器地址:
◦IPv4: ubuntu.buct.edu.cn/ 端口:80
◦IPv4: ubuntu.buct.cn/ 端口:80
◦IPv6: ubuntu.buct6.edu.cn/ 端口:80
4.大连东软信息学院镜像服务器地址:
mirrors.neusoft.edu.cn 端口:80
5.腾讯Bugly 镜像:
android-mirror.bugly.qq.com 端口:8080
腾讯镜像使用方法:
http://android-mirror.bugly.qq.com:8080/include/usage.html
mavenCentral() ----------https://repo1.maven.org/maven2/
jcenter() ---------------------https://jcenter.bintray.com/ui/native/virtualjcenter/ui/native/virtualjcenter/
mavenLocal()---------------从本地maven库中获取依赖项
配置gerrit
git config --global --list可以查看你的git全局配置信息
配置全局用户名和邮箱
git config --global user.name ‘malinshu’
git config --global user.email ‘malinshu@qq.com’
生成publickey
ssh-keygen -t rsa -C ‘malinshu@qq.com
gradle插件管理对应关系
https://developer.android.google.cn/studio/releases/gradle-plugin.html
官网下载
https://services.gradle.org/distributions/
mavenCentral()与jcenter()还有mavenLocal()有啥不同
https://blog.csdn.net/weixin_45959314/article/details/123127811
support与androidx
implementation ‘androidx.legacy:legacy-support-v4:1.0.0’
implementation ‘com.android.support:support-v4:28.0.0’
implementation ‘androidx.appcompat:appcompat:1.0.0’
implementation ‘com.android.support:appcompat-v7:28.0.0’
implementation ‘androidx.annotation:annotation:1.0.0’
implementation ‘com.android.support:support-annotations:28.0.0’
implementation ‘androidx.recyclerview:recyclerview:1.0.0’
implementation ‘com.android.support:recyclerview-v7:28.0.0’
implementation ‘androidx.constraintlayout:constraintlayout:1.1.3’
implementation ‘com.android.support.constraint:constraint-layout:2.0.4’
首先在终端窗口连接上远程服务器:
ssh root@192.168.8.8
复制远程服务器文件到本机当前目录命令:
scp -r root@192.168.8.8:/opt/docker ./
把本机的docker文件下的所有文件复制到目标地址:
scp -r docker root@192.168.8.8:/opt/
注:windows自带命令行工具windows PowerShell。