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.

Questions about Android source code and dependent themes: building from the source, contributing, porting etc.

  • Android Open Source Project
    Contains all necessary information about the Android source code. Start here.

  • Android Tools Project Site
    Information about contributions to the Android Developer Tools subproject.

  • android-platform:
    General discussion about the Android Open Source platform.

  • Android Building:
    Discussion on building the Android source code, and on the build system.

  • Android Contributors
    Developer discussion forum about contributions to the Android open-source software.

  • Android Linux Kernel Development
    Developer discussion forum about Android Linux Kernel development, debugging and porting.

  • android-porting:
    Discussion forum about the specifics of porting Android to individual devices, from obtaining toolchains and merging kernel drivers all the way to configuring or modifying applications for the specific configuration.

3064 questions
1
vote
0 answers

3rd party library resource not found in AOSP build in android

Im building an android application(MyApplication) in AOSP enviroment and it uses a library project which has a custom android view that inflates a layout. I have included the library project in the android.mk file of MyApplication. Then i have added…
playmaker420
  • 1,527
  • 4
  • 27
  • 52
1
vote
2 answers

How to get code from git in windows

Me working in Windows, so for Git I downloaded and installed msysGit-fullinstall-1.7.3.1 from msysgit. And run as specified there. Then I tried to get Gallery application from Android open source project, as specified there in my git console: git…
Labeeb Panampullan
  • 34,521
  • 28
  • 94
  • 112
1
vote
1 answer

Android 8 (Oreo) emulator binaries

I'm trying to build Android 8 (Oreo) and run the emulator for the aosp_arm64-eng build. When I built it and run the command emulator, it starts but the screen is blank. Logcat shows me some native exception due to the lack of opengl libraries. After…
1
vote
0 answers

repo sync error: object file is empty

I'm trying to sync Android from a git repository but I continue to get the following errors: error: object file…
CRazensuar
  • 59
  • 2
1
vote
1 answer

error: cannot access IBase class file for android.hidl.base.V1_0.IBase not found

Android O, AOSP. I'm trying to use an HIDL java library inside an application in frameworks/base. According to the documentation, I've added the HIDL to Android.mk file: LOCAL_JAVA_LIBRARIES := vendor.myvendor.mylibrary-V1.0-java In the…
Vitalii Dmitriev
  • 739
  • 1
  • 8
  • 18
1
vote
0 answers

Android Build Error: make: *** [build/core/main.mk:21: run_soong_ui] Error 1

I am trying to build AOSP from source for the Nexus 6P and encountering the following error. This issue started happening with branch android-8.0.0_r17 (OPR5.170623.007) and has continued in branch android-8.0.0_r31 (OPR5.170623.011). Branches…
savagezen
  • 11
  • 4
1
vote
2 answers

Disabling Graphics from Android AOSP

I am working on a AOSP build where the vendor is not yet ready with OPENGL implementation . So, Without a valid OpenGL implementation , i got a crash which complains about missing OpenGL implementation . Is there any way we can build headless…
1
vote
1 answer

How to build a library from AOSP?

I need to build libjpeg-turbo library which is from android AOSP. The repository contains this Android.bp file, and i have no idea how to build it. Before this, all of the libraries i've built had Android.mk file inside JNI folder and for the…
Hamid Yusifli
  • 9,688
  • 2
  • 24
  • 48
1
vote
0 answers

Error while applying patch on AOSP

When I am trying to apply patch on AOSP I am getting following error: error: unable to open object pack directory: .git/objects/pack: Not a directory error: unable to open object pack directory: .git/objects/pack: Not a directory error: unable…
Awake
  • 11
  • 3
1
vote
2 answers

AOSP force reboot implementation

I am developing a custom Android ROM and I have a trouble with a force shutdown. In devices that do not have a removable battery a long press (over 10s) of shutdown button should shutdown the device. In my ROM this always happens, but the device…
Martin Tramšak
  • 607
  • 1
  • 7
  • 12
1
vote
1 answer

How to find implementation/subclass of android framework class

I know there's android's source code. But how to find an implementation or subclass of some specific interfaces or abstract classes, like FragmentManager? It's annoying and upset when you're digging into source code to find bugs or try to understand…
Lym Zoy
  • 951
  • 10
  • 16
1
vote
1 answer

AOSP build FAILED at ssfilter.c

I'm trying to build an AOSP on Ubuntu 17.04 . I'm reading the tutorial in Embedded Android book. Everything was right until now: root@mh2-K55VD:/bin/repo_work_directory# make…
CRazensuar
  • 59
  • 2
1
vote
0 answers

How to checkout the source code of android-support library for a special revision?

I wan't to build the support-library 25.4.0, I have checkout branch 'ub-supportlib-master', but I do not know how to check the source code for a special revision. Neither branches nor tags contains revision information.
1
vote
0 answers

Se-policy error in Android -N in user debug build

I am seeing following sepolicy errors in Android-N. W Binder:3929_E: type=1400 audit(0.0:29): avc: denied { write } for path="/dev/ttyGS0" dev="tmpfs" ino=73461 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:serial_ic:s0 tclass=chr_file…
1
vote
2 answers

Error when importing com.google, com.android.internal.Telephony, etc

I've downloaded the android source code for CallLog, Contacts, Dialing from here. But now, when I try to import this package on Eclipse, imports like: com.google, com.android.internal.Telephony, com.android.internal.R, …
rogcg
  • 10,451
  • 20
  • 91
  • 133
1 2 3
99
100