您的位置:首页 > 产品设计 > 产品经理

CM Development

2015-12-17 22:48 471 查看


The CyanogenMod Learning Center


Contents

[hide]

1 The
CyanogenMod Learning Center

1.1 Developer
Basics
1.2 Learning
To Build CM
1.3 Intermediate
Development
1.4 Advanced
Topics
1.5 Device
Maintainers Only


Developer Basics

How to enable the hidden Performance/Developer
options
settings in CyanogenMod
Installing and configuring the Android SDK (Software Development
Kit)
Using adb to communicate between your device and your computer
Using fastboot to communicate between your device and
your computer
Using logcat to troubleshoot issues and
report problems
Glossary of Common Terminology
The CyanogenMod Issue Tracking System
View the latest accepted changes: changelog.bbqdroid.org, cmxlog.com


Learning To Build CM

Build Guides – Step-by-step,
device-specific tutorials on how to download and build CyanogenMod from source code.

Why Build CyanogenMod?
Building Basics – Basic language info,
.mk
files,
Makefile
s,
and the
/build
directory, the
$OUT
directory,
and shortcuts every CyanogenMod developer should know.
Setting up a Virtual Machine for CyanogenMod development
Tracking the source code – An introduction to
Git
and GitHub
Importing into Eclipse - A small how-to on importing CM source into the Eclipse
IDE.
Importing into IntelliJ - A small how-to on importing CM
source into the IntelliJ/Android Studio.
Using manifests – Add, remove, or replace source code repositories
with
local_manifest.xml

Recreating CM Releases with Manifests – How to build for
your device exactly like the buildbots do.
Envsetup help – what typing
.
 build/envsetup.sh
actually does, including CyanogenMod-specific build shortcuts.
External Android Development Resources (Master List)
The Internet Helps You Learn. Free links that teach Java, C, C++, and all things Android


Intermediate Development

Dealing with Build Errors
"
make
 clean
" vs. "
make clobber
"
What’s where? – a peek into the source code directories
After you build – You've successfully built CM. Now what?
Adding your own app – Tutorial: How to add your own app
to the build
Submitting code for review with Gerrit: what it is, and how to use it
Translate CM – Guide: How to translate CyanogenMod's features
to your own language
The "edify" scripting language – how
.zip
files
work


Advanced Topics

An Introduction To Porting – want to port CM to a new device? Here
are some tips.
Integrated Kernel Building – some info about
CM's automatic kernel-building.
Submitting A Port – How to get your port to a new device accepted
as "official".
Configure SSH access on your device (OpenSSH) – How-to setup SSH on your device.
Configure SSH access on your device (Legacy - CM7) – How-to setup SSH on your
device.


Device Maintainers Only

Some Tips – how to skip gerrit and push straight to the repo.

Category:

Development
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: