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.
android-source
3,174
questions
0
votes
0
answers
9
views
AudioFormat builder setEncoding supported encodings doubtful
I'm trying to set the encoding for an instance to ENCODING_AAC_LC
This is a snippet of what I'm trying to do
ref = JNI_CALL_OBJECT( p_afmt_builder,
jfields....
0
votes
0
answers
29
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 ...
-1
votes
0
answers
28
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 ...
-3
votes
0
answers
36
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 ...
1
vote
0
answers
61
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 ...
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$ ./...
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 ...
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....
0
votes
1
answer
27
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
0
votes
1
answer
43
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 ...
0
votes
0
answers
91
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) ...
0
votes
1
answer
60
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 ...
1
vote
1
answer
71
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 ...
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
...
0
votes
1
answer
49
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 ...