I am trying to create a path variable for prebuilt libraries in Android.bp file. these libraries are placed in /prebuilts/sdk/current/androidx/m2repository/androidx/room/room-common/2.3.0-alpha02/ and Android.bp is in other directory. how can i create link for prebuilt in android.bp file to access libraries.
How to create Path variable in Android.bp file to link libraries in prebuilt directory AOSP source code
1.1k Views Asked by vijaycaimi At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in MAKEFILE
- Error trying to generate Makefile for glBinding
- Eclipse Makefile: Make Variables are skipped
- Errors in makefile for qemu 0.14.1 in ubuntu 15.04 64 bit
- C++ Struct prototyping in separate header file
- Reuse jquery plugin without conflict
- How do I a conditional build through a make file?
- basic makefile ifeq how to
- (automake, libtool) build fails in automake when using same source file name in different directory
- Makefile pattern rules differences
- Errors while trying to run make on source code
- Git tag name as version in Go via Travis-CI
- gcc make -properly sort out the sequence of making object files
- AOSP ROM for Samsung Grand duos GT-i9082 Error loading kernel
- How to address multiple definition compiler error
- How does MAKE remember the file timestamps
Related Questions in ANDROID-SOURCE
- How to backup an AOSP project on GitHub
- AOSP ROM for Samsung Grand duos GT-i9082 Error loading kernel
- where to find oneplus one binaries (Device tree, Vendor, Kernel) to build rom from AOSP?
- During "make" process for AOSP build, Can I check a progress ratio?
- Is it possible to switch APN programatically in android?
- How do I open the Android Mail project in Android Studio?
- AOSP Lollipop build keeps hanging
- How does the Android system automatically change the screen orientation?
- What is difference between Android and Android Rom?
- API Change error when building AOSP 5.1
- What is the meaning of AOSP's 'lunch' combinations and what do I need to choose?
- Android - Java Packages & Libraries
- Android System Module does not generate output on build
- What is the syntax to create files symlinks in android source tree?
- Missing 'libaudiopolicyservice_intermediates" when trying to compile AOSP 7.1.1 release 6?
Related Questions in PATH-VARIABLES
- Anaconda overriding python as the default site-packages directory windows 7
- Android - get json with variables in path
- @PathVariable doesn't work for only one of the mappings
- SPring 3.2 Path variable truncating
- Spring MVC mapping with path variable
- IntelliJ 14 missing HOME env. variable
- PATH Variable, bashrc and bash_profile messed up on Ruby on Rails
- How to modify a LD_LIBRARY_PATH environment variable?
- Using Anaconda python directory in Atom IDE
- find what compilers are installed using python
- What's the meaning of "a trimmed down value for PATH env var" in the Anaconda release notes?
- Understanding PATH environment variables and different versions of Python
- Eclipse conditional path variables
- PathVariable in Spring Controller
- Terminal showing 'no such file or directory' for PATH variable on startup
Related Questions in PREBUILD
- Visual Studio pre-build action to skip project build based on condition
- How to add pre-build step in qmake/qtcreator?
- Visual Studio 2010 precompile or prebuild actions
- Cruisecontrol task with can execute even if Soursecontrol is not accessible
- Indirect way to reference "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\datasvcutil.exe" in a prebuild event
- How to make a C macro pre-build pre-processor?
- How to create Path variable in Android.bp file to link libraries in prebuilt directory AOSP source code
- Why are native node modules always recompiled on npm install?
- How can I add an existing file to a project in Visual Studio in the pre-build event?
- How to set the local cpp source path in Android studio for prebuild library
- Using Boost Pre-build package
- Pre-build step in makefile
- Heroku msnodesqlv8 problem - Error while deploying
- Writing more than one command in the Visual Studio 2010 pre-build events field when the commands are not batch files and contain macros
- Pre build error cannot solve in my react native app
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I found my answer, link below path in Android.bp file. i wanted to access header files inside glm.glm.hpp and it was in device/genric/vulkan-cereal/include location, so below solution worked for me.
include_dirs: [ "device/generic/vulkan-cereal/include"]
as earlier my lib location was prebuilt for room-common libraries later I changed and if it was in prebuilt directory also we can provide prebuilt directory path instead of above path