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
1,362
questions with no upvoted or accepted answers
28
votes
0
answers
638
views
Error inflating class EmojiPalettesView in LatinIME(AOSP)
I checked out Google LatinIME. Then I imported the java folder into Android Studio.
I ran it, set it up (I chose a keyboard in the phone settings, I chose a language layout)
But during testing (by ...
21
votes
0
answers
470
views
View gets cropped above 10.000 pixel width
UPDATE:
Works on Emulator with Android Oreo (8.X). I have the possibility to do changes right to the android sources, so it would also help if someone knews what in the android sources I have to ...
15
votes
0
answers
3k
views
How to enable wake on usb (remote wakeup) in android?
I have an AOSP tree compiled on my board. I bought a wireless keyboard and connected it to my board via usb port. I expect when the board is in the suspend state, it will wakeup by pressing a key on ...
12
votes
2
answers
8k
views
Running AOSP on emulator
In order to get familiar with AOSP, I'm aiming at building an image and running it on an emulator, following the official documentation.
After setting up an Ubuntu 16.04 VM, I use the following ...
10
votes
1
answer
2k
views
Custom Android emulator (ranchu) build for AOSP 6
I need to build a custom version of the Android emulator and started with rebuilding the emulator without any changes for AOSP 6.0.1 R62.
To my surprise the emulator source code isn't included with ...
10
votes
1
answer
858
views
Error on build yasm/source/patched-yasm/util.h:78:23: error: libintl.h: No such file or directory
After building for almost half an hour I get the following error. No amount of googling has helped so far...
In file included from external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/...
9
votes
0
answers
4k
views
Anyway to control Soong when to pick Android.bp and when not?
With new build system i.e. "Soong", Android replaced Android.mk with Android.bp. Also Android Q onward, Soong will pick all Android.bp files no matter where all are present. Earlier, For 2 ...
9
votes
0
answers
7k
views
How can I enable the new Bluetooth A2DP Sink feature introduced in Lollipop?
I am attempting to modify the AOSP android image for Nexus 5 to include support for Bluetooth A2DP Sink. I've found that Google was nice enough to include a hidden build target for the Nexus 5.
...
9
votes
1
answer
915
views
Adding library with resources to aosp package
I am working with AOSP and I want to make my own library and use it in app (from packages/app/ ). My library has only one class:
import android.app.Fragment;
import android.os.Bundle;
import android....
8
votes
0
answers
950
views
emulator: ERROR: Can't get kernel version from the kernel image file: '/media/anand/BUILD/aosp/out/target/product/generic/kernel-ranchu-64'
i am new AOSP build system . I followed all the steps given in following link
https://source.android.com/setup/build/building
to build Android from source .
took very recent tag android-11.0.0_r7
...
8
votes
2
answers
1k
views
USB webcam support in Nougat Camera API
I am building a Nougat AOSP image for Raspberry Pi 3 following these instructions: https://github.com/tab-pi/platform_manifest. And I have a UVC-compatible USB webcam (Logitech C525) that I would like ...
8
votes
0
answers
654
views
Issue With android MPEG2TS Writer
Hi am trying to use the mediarecorder api and generate a mpeg2ts output that contains h264 video and aac audio.
1) When i record the video alone, the output .ts file generated works fine without any ...
7
votes
3
answers
529
views
Generate Software Bill Of Material SBOM for AOSP
I am working with AOSP 9 and 11 to build a android based embedded system.
For several review task I require a list of all software packages, libraries, etc. that are used to build and/or get installed ...
7
votes
0
answers
521
views
AOSP build emulator does not start/shows black screen
I have a problem with the Android-Emulator which I builded from the AOSP.
My Steps are:
$ repo sync -j8
$ source build/envsetup.sh
$ lunch --> chose 22. aosp_x86_64-eng
$ make -j8
$ ...
7
votes
1
answer
2k
views
Run shell command from priv-app application
I am trying to run shell commands from a system/priv-app I have added to the AOSP (7.1.1)
The command I am trying to run is: ip link add dev can0 type can to switch on the can bus.
I have build the ...