常用软件
sudo apt-get install git curl python python3 gnutls-bin openjdk-8-jdk openjdk-8-jre ntpdate vim fcitx gnome-tweaks gnome-tweak-tool openssh-server gdebi net-tools -y
时间设置
timedatectl set-local-rtc 1 --adjust-system-clock
编译依赖安装
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip libssl-dev opensslsudo apt install python-pipsudo pip install pycryptodomepip show pycryptodome
git配置
git config --global user.name "imdevil";git config --global user.email "516959708@qq.com";git config --global http.sslVerify false;git config --global http.postBuffer 1048576000;mkdir ~/bin; mkdir -p ~/work/aosp10
repo
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo > ~/bin/repo; PATH=~/bin:$PATH;chmod a+x ~/bin/repo;echo -e "\nexport REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo'" >> ~/.bashrc;source ~/.bashrc
同步源码
repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest -b android-10.0.0_r1
SublimeText 3
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -;sudo apt-get install apt-transport-https;echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list;sudo apt-get update;sudo apt-get install sublime-text
BeyondCompare
wget https://www.scootersoftware.com/bcompare-4.3.7.25118_amd64.debsudo apt-get updatesudo apt-get install gdebi-coresudo gdebi bcompare-4.3.7.25118_amd64.deb#removesudo apt-get remove bcompare
安装SSH
sudo apt-get install openssh-server## 启动sshservice ssh start
文件夹改为英文
export LANG=en_USxdg-user-dirs-gtk-update选择update namesreboot选择:不再提醒,不更改
替换Shell解释器
sudo dpkg-reconfigure dash # 选择否
emulator无法启动kvm配置(链接)
sudo apt-get install qemu-kvm cpu-checkerkvm-oksudo addgroup kvmsudo usermod -a -G kvm imdevilsudo chgrp kvm /dev/kvmsudo touch /etc/udev/rules.d/60-qemu-kvm.rulessudo echo "KERNEL==\"kvm\", GROUP=\"kvm\", MODE=\"0660\"" >> /etc/udev/rules.d/60-qemu-kvm.rules
Synergy
sudo apt-get install synergysudo apt-get install sni-qt
出现如下错误时:
...RROR: failed to connect secure socket...
vim ~/.config/Synergy/Synergy.conf<br />让 cryptoEnabled=false<br />------------------------------------------------------------------------------------------------<br />sudo apt-get install git <br />sudo apt install curl -y<br />sudo apt-get install python -y<br />sudo apt-get install gnutls-bin -y <br />sudo apt-get install openjdk-8-jdk -y<br />sudo apt-get install openjdk-8-jre -y<br />sudo apt-get install ntpdate -y<br />sudo apt-get install vim -y<br />sudo apt-get install fcitx -y
git config —global user.name “imdevil”
git config —global user.email “516959708@qq.com”
git config —global http.sslVerify false
git config —global http.postBuffer 1048576000
sudo ntpdate time.windows.com
sudo hwclock —localtime —systohc
mkdir ~/bin; mkdir -p ~/work/aosp10
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo > ~/bin/repo
PATH=~/bin:$PATH
chmod a+x ~/bin/repo
写入~/.bashrc
export REPO_URL=’https://mirrors.tuna.tsinghua.edu.cn/git/git-repo‘
source ~/.bashrc
repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest -b android-10.0.0_r1
http://mirrors.ustc.edu.cn/help/aosp.html
https://www.cnblogs.com/sunanli/p/13797042.html
https://developer.android.google.cn/studio/
https://pinyin.sogou.com/linux/help.php
依赖
https://www.cnblogs.com/zh2314372037/p/10572090.html
依赖
https://source.android.google.cn/source/initializing.html
sudo apt-get install libncurses5’
