Loading [MathJax]/jax/output/CommonHTML/config.js
前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >Android 源码下搜索快捷键

Android 源码下搜索快捷键

原创
作者头像
沪上队长
发布于 2018-04-26 14:28:16
发布于 2018-04-26 14:28:16
1.2K3
举报
文章被收录于专栏:物联网事物联网事

Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:

  • lunch: lunch <product_name>-<build_variant>
  • tapas: tapas <App1> <App2> ... eng|userdebug|user
  • croot: Changes directory to the top of the tree.
  • m: Makes from the top of the tree.
  • mm: Builds all of the modules in the current directory, but not their dependencies.
  • mmm: Builds all of the modules in the supplied directories, but not their dependencies.To limit the modules being built use the syntax: mmm dir/:target1,target2.
  • mma: Builds all of the modules in the current directory, and their dependencies.
  • mmma: Builds all of the modules in the supplied directories, and their dependencies.
  • provision: Flash device with all required partitions. Options will be passed on to fastboot.
  • cgrep: Greps on all local C/C++ files.
  • ggrep: Greps on all local Gradle files.
  • jgrep: Greps on all local Java files.
  • resgrep: Greps on all local res/*.xml files.
  • mangrep: Greps on all local AndroidManifest.xml files.
  • mgrep: Greps on all local Makefiles files.
  • sepgrep: Greps on all local sepolicy files.
  • sgrep: Greps on all local source files.
  • godir: Go to the directory containing a file.

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
3 条评论
热度
最新
很实用,可以当手册来使用了
很实用,可以当手册来使用了
回复回复点赞举报
搜索快捷键的例子总结,谢谢楼主的分享
搜索快捷键的例子总结,谢谢楼主的分享
11点赞举报
这不是我总结的,Android AOSP 下脚本文件中定义好的
这不是我总结的,Android AOSP 下脚本文件中定义好的
回复回复点赞举报
推荐阅读
编辑精选文章
换一批
Android SDK常用命令
执行source build/envsetup.sh后可以使用很多android集成的shell命令。
全栈程序员站长
2022/09/13
4020
Android系统编译流程详解(二)
查看下device/google/marlin/vendorsetup.sh文件,可以看到:
李小白是一只喵
2020/04/24
1.8K0
Android系统编译流程详解(二)
Android系统编译流程详解(三)
其中定义了一个默认的droid,当我们在TOP目录下,敲Make实际上就等同于我们执行make droid。
李小白是一只喵
2020/04/24
1.3K0
Android系统编译流程详解(三)
Android 编译技巧
Linux 中管理编译的文件是 Makefile,Android 系统管理编译的文件是 Android.mk,他们的语法相似,都会定义编译目标,声明依赖关系。
Jasonangel
2022/04/08
4460
Android 编译技巧
Android高版本P/Q/R源码编译指南
时代在进步,第三套少儿广播体操!不好意思,搞错频道了,重来!时代在进步,Android的版本也是快速的进行着迭代着,从我们以前最常见的Android 4.4一直发展到了今天的Android 11版本(即Android K到Android R),Android版本的快速迭代对于消费者来说是一件普天同庆的大好事情,但是对于我们开发者来说各种适配各种改造有时候吃翔的心情都有了。而对于Android版本的适配和各种改造的第一步就是从编译Android源码开始,可是不幸的是随着Android版本的迭代连编译Android源码的相关流程都发生了翻天覆地的变化,正所谓工欲利其事必先利器,所以我们今天的这篇博客将带领读者一起来捯饬捯饬Android各个版本的源码编译发展和编译具体操作步骤!
不会飞的小鸟
2021/01/05
2.8K0
Android.mk的用法和基础 && m、mm、mmm编译命令「建议收藏」
(BUILD_STATIC_JAVA_LIBRARY)则是编译出jar包。 B,编译静态库的模板: #Test Static
全栈程序员站长
2022/09/01
4.7K0
深入理解Android Build系统
概述 Android Build 系统是用来编译 Android 系统、Android SDK 以及相关文档的一套框架。在Android系统中,Android 的源码中包含了许许多多的模块。 不同产商的不同设备对于 Android 系统的定制都是不一样的。如何将这些模块统一管理起来,如何能够在不同的操作系统上进行编译,如何在编译时能够支持面向不同的硬件设备,不同的编译类型,且还要提供面向各个产商的定制扩展,Android系统如何解决这些问题呢?这就是我们不得不谈的Android Build 系统。 Andr
xiangzhihong
2018/02/06
2.1K0
深入理解Android Build系统
AOSP 源码整编单编
整编,顾名思义就是编译整个 Android 源码,最终 out 目录会生成几个重要的镜像文件,其中有 system.img、userdata.img、ramdisk.img 等,这些是可以刷机的。
吴小龙同學
2019/12/11
2.4K0
(Android下使用)Google Test C++单元测试框架(二)
TEST() and TEST_F() implicitly register their tests with googletest. So, unlike with many other C++ testing frameworks, you don't have to re-list all your defined tests in order to run them.
李小白是一只喵
2020/04/24
1.9K0
(Android下使用)Google Test C++单元测试框架(二)
Lichee(三) Android4.0该产品的目标文件夹,Lichee链接—extract-bsp
由《Lichee() 在sun4i_crane平台下的编译》介绍了编译lichee的基本情况,我们终于得到了编译后的结果例如以下:
全栈程序员站长
2022/01/11
6320
Kali编译LineageOS-19.1 for 小米8se
  之前一篇文章中已经完成了kali虚拟机的一些基本环境的搭建,现在我们开始用kali进行Lineage源码编译。整个流程基本上说按照官方wiki来的,但是肯定会踩不少坑,即使是完全照着这篇文章来,也不一定会成功,但是还是记录一下踩坑记录。
大A
2023/02/14
1.9K0
​11 Building CGAL​
The results of a successful configuration are build files that control the build step. The nature of the build files depends on the generator used during configuration, but in all cases they contain several targets, one per library, and a default global target corresponding to all the libraries.
用户3519280
2023/07/08
4120
macOS 下载编译 aosp 源码
最近在读《Android 进阶指北》,开篇就是介绍如何在安装到 VirtualBox 的 Ubuntu 上进行下载和编译 aosp(Android Open Source Project)。由于我的电脑是 macOS,所以首先尝试了在 macOS 上进行下载和编译 aosp,其中碰到了很多问题,所以整理此文出来,给后来人借鉴。
huofo
2022/03/17
3.4K0
macOS 下载编译 aosp 源码
DshanMCU-R128s2 SDK 入门
R128 平台拥有三个核心,Cortex M33 核心作为启动和安全核心,XuanTie C906 核心作为应用核运行用户 APP,HIFI5 作为算法核运行DSP算法。由于架构不同,不同的核心需要运行不同的 RTOS。
韦东山
2023/12/23
2490
DshanMCU-R128s2 SDK 入门
Evil Package
那如果我们安装packages是恶意的怎么办呢,我们根据手册编写如下恶意setup.py
Jumbo
2018/12/05
5310
Android源码折腾(一)下载和编译
我下载和编译用的是ubuntu20.04系统,之前在win上一直存在问题,甚至在下载环节就出问题,无法通过。
笔头
2022/06/12
2.5K0
Android Automotive Framework调试技巧
三次握手只是一个数据传输的过程,但是,我们传输前需要一些准备工作,比如将创建一个套接字,收集一些计算机的资源,将一些资源绑定套接字里面,以及接受和发送数据的函数等等,这些功能接口在一起构成了socket的编程
wizzie
2022/12/22
5.4K0
Android Automotive Framework调试技巧
Android Studio 导入 AOSP 源码
有了 AOSP 源码,接下来就是如何看了,可以直接文本看,可以用 Source Insight,我当然选择 Android Studio,Android Studio 是我熟悉且十分强大的工具。问题来了,如何将 AOSP 源码导入 Android Studio?
吴小龙同學
2019/12/11
3.2K0
第二十四章 : 编译程序
In this chapter, we will look at how to build programs by compiling source code.The availability of source code is the essential freedom that makes Linux possible.The entire ecosystem of Linux development relies on free exchange between developers.For many desktop users, compiling is a lost art. It used to be quite common,but today, distribution providers maintain huge repositories of precompiled binaries,ready to download and use. At the time of this writing, the Debian repository(one of the largest of any of the distributions) contains almost 23,000 packages.
砖业洋__
2023/05/06
2710
Linux 下Input系统应用编程实战
什么是input子系统?不管是什么操作系统,都有一个程序是用于管理各种输入设备的,打个比方,生活中使用的电脑键盘、鼠标就是输入设备,小到日常生活中无可避免的智能手机,智能手机上的触摸屏,按键也是输入社备。那么操作系统是怎么管理这些输入设备的呢?这里还是以最常用的操作系统Linux来进行讲解
杨源鑫
2019/07/04
2.9K0
Linux 下Input系统应用编程实战
相关推荐
Android SDK常用命令
更多 >
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档