android-source

Anyway to control Soong when to pick Android.bp and when not?

纵饮孤独 提交于 2020-12-02 10:34:34
问题 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 level and 3 level modules, it was not picking up Android.bp file unless instructed by "optional_dirs" . Now this too has been deprecated. Quoting from android source code's platform/build/soong/root.bp: // Soong finds all Android.bp and Blueprints files in the source tree, // subdirs= and optional_subdirs

Anyway to control Soong when to pick Android.bp and when not?

走远了吗. 提交于 2020-12-02 10:34:00
问题 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 level and 3 level modules, it was not picking up Android.bp file unless instructed by "optional_dirs" . Now this too has been deprecated. Quoting from android source code's platform/build/soong/root.bp: // Soong finds all Android.bp and Blueprints files in the source tree, // subdirs= and optional_subdirs

When are the APKs in system/app being installed?

为君一笑 提交于 2020-11-29 03:06:50
问题 I created a custom system image and put an additional APK into system/app. This kinda works, I can run the app, however native libraries are not getting loaded (loadLibrary() fails). When I call pm install on the APK, everything works fine and the native library loads. My conclusion is that the APK is not getting installed properly. I would appreciate any background on the behavior I observe. Is this the way it should be or am I missing something? At what time would the package manager

AOSP x86_64 Emulator not visible in Android Studio

こ雲淡風輕ζ 提交于 2020-08-24 08:19:31
问题 I am using AOSP emulator for testing my code. I downloaded the android10_release source code of AOSP in my pc. Then used the following commands source build/envsetup.sh set_stuff_for_environment lunch aosp_x86_64-eng make -j6 emulator now after running these commands I am successfully able to run emulator in my pc OS of my pc is Ubuntu 18.04 I also installed many libraries for working with AOSP like jdk-8, python, curl, repo, git, and other stuff as per described in AOSP website I am abe to