CyanogenMod 或 AOSP:编译单个项目
我正在尝试从存储库中制作/编译单个 AOSP 项目 - 特别是软件包/应用程序/电子邮件。
有谁知道该怎么做? (我编译整个存储库没有问题,但我真的希望也能够编译单个项目)。
I am trying to MAKE / Compile a single AOSP project from the repository - specifically packages/apps/Email.
Does anyone know how to do it?
(I have no problem compiling the entire repository, but I really would like to be able to compile a single project as well).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您的环境已通过 Android 树中的
build/envsetup.sh
配置,您可以运行mmm [project_path]
来仅构建特定的子项目。 (这需要您之前从树中构建其依赖项。)正如 CommonsWare 指出的,如果您尝试使用 SDK 构建电子邮件应用程序,则需要做更多的移植工作。
If your environment has been configured by
build/envsetup.sh
in your android tree, you can runmmm [project_path]
to build only a specific subproject. (This will require that you've built its dependencies from the tree before.)As CommonsWare pointed out, if you're trying to build the Email app using the SDK there's more porting work to do.
make Email 也可以(通常为所有应用程序制作 [appname])
make Email also works (and generally make [appname] for all apps)