Category "android-source"

How to include OpenGapps in AOSP 12 build?

I am building AOSP 12 for my Pixel 3a sargo. It worked but I wanted to install Gapps on it. When I tried to flash any Gapps zip in TWRP, it said that my system

What's the best way to get the package name of the application in the foreground?

I'm working on an AOSP project and as part of that I'm modifying the Bluetooth SDK. I have made changes in android.bluetooth.BluetoothAdapter::getDefaultAdapter

How to generate RenderScript ScriptC* files with Android.bp?

I want to compile my renderscript project with a .rs file on AOSP. My AOSP SDK is 29 (Android Q). My build directory for mm is ├── Android.bp

AOSP build error: unrecognized module type "hidl_package_root"

I'm keep getting that error in soong, while trying to build aosp. When I type make, this is the output: PLATFORM_VERSION_CODENAME=R PLATFORM_VERSION=R TARGET_

add new font to AOSP build

I want change the default font in my AOSP GSI builds. I have added them in /extrnal like the standard Roboto font. I have added them in /framworks/base/data/dat

How to use Android RRO to overlay a layout?

I'm trying to customize Android 10 AOSP Settings app (com.android.settings) using a Runtime Resource Overlay (RRO). When using a RRO, I can successfully customi

How to build android AOSP to a specific target product

I am trying to generate a rom to install in my phone which is a Motorola 1Gen Codename Falcon. I have followed both instructions from the official tutorial on s

importing java libraries into dot os source

Hey I'm building dotOS rom for samsung grand prime. Im stuck with an error. the device/samsung/qcom-common/doze/doze/Android.mk: error: SamsungDoze (APPS andr

How run robolectric inside AOSP

I try run robolectric inside AOSP my Android.bp file looks like android_robolectric_test { name: "MyRoboTests", srcs: [ "src/**/*.java",

FAILED: setup-jack-server when building LineageOS

I'm attempting to build LineageOS for the Moto Z (griffin) on a server, but the build crashes and burns 5 minutes out the gate. FAILED: setup-jack-server /bi

Error when build LineageOS: "make: *** [ninja_wrapper] Error 1"

frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0 find

Error building Android kernel: "multiple target patterns"

I attempted to build a fresh kernel for Nexus 5X following Google's instructions on this page Build system: Ubuntu 14.04 x86_64 Target system: MTC19T/bullhead

How to solve API Lint error in AOSP build?

I'm using AOSP source file.I have created new service in Android 9 & it was running. When I tried to reuse the same in Android 11, getting API Lint Error fr