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,179
questions
0
votes
0
answers
266
views
How to tie a vendor module into an Android 14 build
I'm currently trying to write a simple hello world vendor module for android 14 to run on the cuttlefish emulator but I can't figure out how to tie it into the build properly.
Documentation on how ...
0
votes
0
answers
48
views
[tag][VTS] Fastbootd related VTS modules are failing
Android version: 13
VTS tool version: 13_r1
Modules Failing :-
FastbootGetvarUserspaceTest
FastbootVerifyUserspaceTest
Issue description:-
My device is Android 13 launch device(with AOSP r24 tag), ...
0
votes
1
answer
86
views
How can I add native c++ code to an AOSP app using JNI? I am trying to modify EmbeddedKitchenSinkApp. I am working with Android 11
I am trying to add native C++ code to the app, but I get an linker error on execution. I am guessing there is a problem somewhere in my Android.mk files or maybe I should just manually move the shared ...
-1
votes
1
answer
113
views
AOSP 6 build and start emulator black window
before action : https://stackoverflow.com/a/78324271/7707781
new problem
Now i'm on intel macOs
I build aosp6 success by docker .
terminal docker and run `$AOSP_PATH/prebuilts/android-emulator/darwin-...
0
votes
0
answers
176
views
AOSP Android tv build x86_64
I am trying to build a TV rom using aosp tv os. The build is done using m -j8 and I have setup and sourced acloud. Although when I try to launch the os it doesn't boot up. Even when I use launch_cvd ...
0
votes
1
answer
70
views
AOSP granted REQUEST_INSTALL_PACKAGES
I'm encountering an issue when integrating the application into the AOSP as the application requires the REQUEST_INSTALL_PACKAGES permission.
Is there any way to grant this permission to the ...
0
votes
1
answer
111
views
lunch and m command failed for undefined symbol in AOSP
I am trying to running lunch and m command in AOSP. In detail, the commands are . ./build/envsetup.sh , lunch aosp_cf_x86_64_phone-trunk_staging-userdebug and m smp-fuzzer. However, the lunch command ...
0
votes
1
answer
212
views
How to fix third party launcher frozen in samsung foldable phone
I am making a third party Launcher base on Launcher3 open source. While I am testing it on Samsung Fold 5, I usually get frozen for a few seconds or sometime need to restart it. This is the way i ...
0
votes
0
answers
48
views
Detect double tap on split resizing button (screen divider) in split-screen mode
Prehistory:
The Multi-Window Mode's screen divider view has the following options:
if you drag the divider view, it will change the window sizes accordingly:
if you double tap on it, it will switch ...
0
votes
0
answers
64
views
Lottie Animation library (.aar file) getting error: failed linking file resources in ATV11
I have integrated "lottie-6.4.0.aar" for using lottie library in my ATV11 Tv application. arr file was complied successfully but I try to use "LottieAnimationView" component like, &...
0
votes
2
answers
124
views
Android 8 Build Fails with "ANDROID_DATA not set and /data does not exist" Error
I am attempting to build AOSP 8, specifically build android-8.0.0_r22 using lunch 31.
About half way through the build, I have encountered some kind of error where the ANDROID_DATA directory cannot be ...
2
votes
1
answer
269
views
How to build aosp 6.0 img and run emulator with the img on mac m1 device?
How to build aosp 6.0 img and run emulator with the img on mac m1 device ?
In a word, I want to compile my own android 6.0 image and then use this image to run the emulator on mac m1
I'm what to learn ...
0
votes
0
answers
34
views
Where is the ExecuteMterpImpl function in aosp 13?
In aosp 11, there are two mode to execute java function in art.
In the interpreter mode, the execution always passes through ExecuteSwitchImplCpp, whereas in the assembly mode, it always passes ...
0
votes
0
answers
107
views
How do I convert the update.img artifact from the Orange Pi 4 LTS Android build to an image I can flash on a microSD card?
I have successfully built Android 8.1 from the sources provided for the Orange Pi 4 LTS. According to the Orange Pi 4 LTS User Manual (downloaded from the previous link)--on the final page 399--"…...
0
votes
0
answers
57
views
Slide the Android Automotive HVAC up by pressing a button
In Android Automotive, you have the HVAC FAN button in the bottom nav, and when you click on this it slides up over the content. Now I want to use my own button in my application to slide this up. ...