Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [android-source]

Questions about the source code and building of Android itself, contributing to the Android project, Android kernel development and porting. Do not use for Android application development questions except where specific to building applications as pre-packaged parts of the system.

0 votes
0 answers
18 views

AOSP Development: Kotlin cannot access R class id, but Java can! Why?

I started diving into AOSP development recently and I am following some code labs originally written in Java on how to customize the SystemUI (for Automotive AOSP). I have checked that parts of ...
seriouslysupersonic's user avatar
-1 votes
0 answers
24 views

Best Practices for Managing Custom AOSP ROM Development and Handling New Android Versions [closed]

I have successfully built a custom AOSP ROM on Google Cloud VM engine and my local machine. While I'm familiar with the process of building AOSP ROMs, I need advice on the best practices for tracking ...
Shubham Mogarkar's user avatar
-3 votes
0 answers
35 views

How can I View Android source code on Mac?

I am a Android development engineer,I want to view Android source code on a Mac. I downloaded the framework source code to my Mac,but code cannot jump and highlight hint.I want to be able to view the ...
he yong's user avatar
1 vote
0 answers
60 views

Auto grant runtime permissions via default-permissions.xml for AOSP 12 or later are not working in Android

Default permissions are not auto granted for permissions categorised as runtime or dangerous permissions via default-permissions-example.xml file for an application that I am trying to run as a system ...
Arpit's user avatar
  • 1,182
0 votes
0 answers
29 views

I want to build androidx's appcompat and integrate in AOSP build

I want to build androidx's Appcompat(done some changes) and integrate in AOSP. When I use the below command, it generates debug and release aar. android_xsource_code/androidx/frameworks/support$ ./...
Shadow's user avatar
  • 6,914
0 votes
0 answers
26 views

Shared library need to add in android.bp

I have created a shared lib named liberCore.so and this lib I have put into where is my all src files and this file having some headers which I kept into include folder this lib I am unable to add ...
Nisar Nadaf's user avatar
0 votes
0 answers
25 views

AOSP Cuttlefish orchestrator: How to create a host with local Android Image?

I was working hosting Android on my PC with Cuttlefish docker orchestrator and cvdr tool. I followed the instruction given on https://github.com/google/cloud-android-orchestration/blob/main/docs/cvdr....
Yihao Ye's user avatar
0 votes
1 answer
23 views

Build AOSP 13 for tablet emulator

What should be the lunch target to build AOSP 13 code for tablet emulator I can launch phone emulator using lunch target sdk_phone_x86_64-userdebg. But I want to build AOSP for tablet emulator
Margish thumar's user avatar
0 votes
1 answer
40 views

Remove taskbar in AOSP 13

I am working on AOSP 13. AOSP code is built for tablet device. Currently navigation icons are in task bar, is there a straight forward way to permanently remove task bar in AOSP code and navigation ...
Margish thumar's user avatar
0 votes
0 answers
89 views

How does Android parse resources.arsc for certain apps? AAPT and AAPT2 are giving different results

I am trying to put an android app APK to my analysis tool. Specifically Microsoft "Company Portal" (version 5.0.6295.0 as of this writing, you can download it and pull from device via adb) ...
Paul Nogas's user avatar
0 votes
1 answer
55 views

Replace LegacyCamera with Camera2

In this device with AOSP 10, I have currently the LegacyCamera API for the camera but I want to replace it with Camera2. What should I change to have it build and install Camera2 by default instead of ...
jesusjimsa's user avatar
0 votes
0 answers
32 views

Where/How can I find this Audiotrack errors documentation?

I am not getting what the error -38 is for. I couldn't find any mention of error -38 in the AudioTrack/AudioFormat codebase. I have searched for it using the AOSP codesearch but I can't narrow it down....
adelden22's user avatar
1 vote
1 answer
69 views

Custom AOSP Vendor Image: SIM Card Not Detected After Flashing in Android 13 for Pixel 7a(lynx)

I customized the vendor image in AOSP by modifying BoardConfigPartial.mk to generate a custom vendor image rather than using the prebuilt one. After successfully flashing the custom vendor image onto ...
Ilaveni Ranjith's user avatar
0 votes
0 answers
36 views

App crashed after importing framework built from AOSP

I am a new AOSP developer. I modified some files in AOSP and ran with target sdk_car_x86_64-userdebug, and then I made the framework using below command: m framework -j32 m framework-minus-apex -j32 ...
Zappy.Mans's user avatar
0 votes
1 answer
48 views

Build Issue for Lineage (21.0) gsi x86_64 eng. Redundant artifact path entries

I followed the instructions for building Lineage OS 21.0 for emulator/avd (from https://wiki.lineageos.org/emulator) and when building (after calling "mka" command) I receive the following ...
feder's user avatar
  • 17

15 30 50 per page
1
2 3 4 5
212