Top "Android-source" questions

Questions about the source code and building of Android itself, contributing to the Android project, Android kernel development and porting.

Android source code compile error: "Try increasing heap size with java option '-Xmx<size>'"

Error happens when I try to compile Android source code(Sourcecode-version: 6.0.1; RAM: 6G; host system: ubuntu 14.04),log is below: including ./…

android android-source android-build
How do I build the Android SDK with hidden and internal APIs available?

I want to rebuild the Android SDK (or rather only the android.jar) to include hidden and internal APIs. I …

android android-sdk-2.3 android-source
What does @hide mean in the Android source code?

For the Activity source code, line 3898 (close to the bottom): /** * @hide */ public final boolean isResumed() { return mResumed; } What does @hide …

android android-activity android-source
Error android.content.res.Resources$NotFoundException: File from xml type layout resource ID #0x102000a

Hey, I'm trying to create a design for a list that looks like (and mostly behaves like) the call log, …

android android-layout android-source
Building a particular module in the android source code

I am working on an android source code which I have downloaded from source.android.com. After a full build …

android android-source
What does repo init and repo sync actually do?

I posted this question at Android Enthusiasts but figured it was the wrong place to ask, so I deleted it …

android repository android-source git-repo
Fastboot flash system.img error

When I try to flash via fastboot system.img (from my custom AOSP build) to Sony Xperia Z3 I get …

android android-source sony fastboot
How does the Android repo manifest repository work?

The Android source is a large hierarchy of git repositories. They are managed by a custom script called repo. Repo …

android git android-manifest android-source git-repo
How do you create a loadable kernel module for Android?

I know there a number of walkthroughs and tutorials floating around out there which describe this activity, but after having …

android kernel-module android-source
Replacing Touchscreen driver in Android Kernel

I'm adapting a Gingerbread kernel for my custom board. I'm trying to replace a resistive touch screen that uses an …

android linux-kernel device-driver touchscreen android-source