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

All Questions

0 votes
0 answers
24 views

aosp makefile logic read sikills

from some month ago , i'm start try to build and read aosp6.0 source code . I can build aosp6.0 success now i'm try read it intranal logics . The point bolck me : When I what to figure out ...
Tom's user avatar
  • 383
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 ...
Anthony Sabbagh's user avatar
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 ...
Calix Barrus's user avatar
1 vote
1 answer
77 views

How do I create an Android make file to merge a glibc based root filesystem into to the AOSP filesystem?

Appendix A (Legacy User-Space) of the 2013 Karim Yaghmour book Embedded Android describes how to merge a root filesystem based on glibc that contains BusyBox into the AOSP build. But it describes how ...
Daryl Spitzer's user avatar
0 votes
0 answers
61 views

issue adding generated binary in AOSP to emulator x86_64

I am trying to integrate a project into AOSP (version 12) I created the android.mk in the repo where I added other files and I recompiled the project successfully the binary of my project is created ...
Karoui Sirine's user avatar
0 votes
0 answers
59 views

AOSP sdk_car_portrait failed

I use lunch command and select sdk_car_portrait_x86_64-trunk_staging-userdebug but i got these errors. In file included from build/make/core/config.mk:389: In file included from build/make/core/...
Hadi Norouzi's user avatar
1 vote
1 answer
341 views

I have a problem when compiling AOSP with Ubuntu

klee@linux:~/AOSP/aosp$ make ...... [ 0% 2/12593] build out/target/produc...wer_intermediates/oat/arm/package.odex FAILED: out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/...
Klee's user avatar
  • 11
0 votes
0 answers
319 views

How to set TARGET_NO_KERNEL = true when building Android source code

Here is the warning message when building Android 14 source code: build/make/core/Makefile:4889: warning: Neither INSTALLED_KERNEL_TARGET nor INSTALLED_BOOTIMAGE_TARGET is defined when PRODUCT_O ...
stackbiz's user avatar
  • 1,352
0 votes
0 answers
156 views

Cannot add prebuilt apk to AOSP

I am trying to add a prebuilt apk to an A13 AOSP build but the build process throws an error. I have tried the following: Created the directory device/company/product/myapp. Copied my apk and Android....
ktom79's user avatar
  • 1
0 votes
1 answer
268 views

How to embed AOSP Host?

In this link there is tutorial how to embed AOSP Host, can somebody read and explain me how and where to do those steps? Steps done 1.Check out the code: I did it 2.Create the AOSP host APK: I have ...
Imron Gamidli's user avatar
0 votes
1 answer
514 views

Host out binaries are missing when building AOSP on macos

I'm building AOSP (12) on macOS Monterey with M1. Overall it works well (successfully generates images even while macOS is not officially supported). However, I've also built the same tree for the ...
artem's user avatar
  • 16.7k
1 vote
0 answers
121 views

How can I add an .aar Library to use in a System Service on AOSP?

I am trying to program my own system service, and it requires a .aar library to be included. I tried it by adding these lines into the Android.mk file in frameworks/base: LOCAL_MODULE := geth ...
Markusbug's user avatar
0 votes
1 answer
441 views

How do I only compile a part of AOSP?

I just created a few changes on the "frameworks/base" part of android. Is it possible to just try to compile this part, instead of the entire android source-code? It would really help me ...
Markus Haas's user avatar
0 votes
0 answers
509 views

Android.mk phony package builds with mma, but does not build with make

With Android 9 build system, I was able to use BUILD_PHONY_PACKAGE and LOCAL_ADDITIONAL_DEPENDENCIES to be able to execute custom builds in Android.mk files, however, now I switched to Android 11, and ...
mozcelikors's user avatar
  • 2,724
-1 votes
1 answer
689 views

How to rebuild android source code(AOSP) after changing root path

I'd like to re-use the result of android build. When I copy the AOSP full source to another path, it fails to re-build. what I should do to re-use most of outputs only removing small parts of result ? ...
OfusJK's user avatar
  • 715

15 30 50 per page
1
2 3 4 5
9