Category开发

如何将整个 AOSP 源码导入到 Android Studio

写在前面 AOSP 的 idegen 模块可以帮助我们将源码导入到 Android Studio,使我们能够更加便捷的进行开发和调试。 准备工作 安装 Android Studio 下载 AOSP 源码 详细步骤 打开终端并导航到您的 Android 源代码根目录,然后执行 source build/envsetup.sh 编译 idegen 模块 make idegen -j32 生成 Android Studio 所需要的 android.iml 和 android.ipr 工程配置文件 ./development/tools/idegen/idegen.sh 打开源码根目录的...

git 设置使用 socks5 或 http/https 代理的方法

g

写在前面 我们在使用 git 克隆一些外网的代码仓库时,因为众所周知的原因,难免会遇到无法访问的情况。 若是你拥有代理服务器的话,就可以通过为 git 设置使用代理的方法解决这个问题。 设置 HTTP/HTTPS 代理 git config --global --add http.proxy localhost:8118 git config --global --add http.sslVerify false git config --global --add https.proxy localhost:8118 git config --global --add https...

推荐一个 Linux 系统上超好用的代码搜索工具 – The Silver Searcher

The Silver Searcher 介绍 一个近似 ack 的代码搜索工具,关注于速度。 完整说明详见作者主页: 安装方式 macOS brew install the_silver_searcher Linux Ubuntu >= 13.10 (Saucy) or Debian >= 8 (Jessie) apt-get install silversearcher-ag Arch pacman -S the_silver_searcher CentOS yum install the_silver_searcher 使用方法 ag '关键字'...

标签

归档

其他操作