Questions tagged [android-make]

Use this tag on questions related to "Android.mk" files which are written to describe your C/C++ sources to the Android NDK build system.

54 questions
0
votes
0 answers

Pack .arr inside in the apk in aosp build

In my project, I have one .aar file(Bundle of .so files which build on armebabi-v7a) and it will successfully build in the Android AOSP source tree. (Source tree is based on the arm64-v8a). But I run the application, in the device, it will crash and…
0
votes
1 answer

how to enable proguard with -assumenosideeffects flag in Android.MK file

I am trying to compile my application with AOSP and which build properly. I have an issue with make use of the proguard flag. -assumenosideeffects. I am trying to strip out the Log statements in my final build and hence using the following in my…
Midhun PM
  • 512
  • 1
  • 7
  • 24
0
votes
3 answers

Replacing some files before packaging system folder to system.img

As the title is self-explanatory, I'd want to replace some files in system/bin/ and system/lib/ right before when the system.img is being generated. To be more exact, I've got some prebuilt .so files which shuold be copied over the existing ones.…
frogatto
  • 28,539
  • 11
  • 83
  • 129
0
votes
1 answer

Add a make rule to the main make of AOSP

I've added a new C++ subproject at frameworks/base/cmds/myproject and it has its own Android.mk file. When I run make myproject, it'll compile well and no problem. However I want to add make myproject to the main make. I mean, when someone runs make…
frogatto
  • 28,539
  • 11
  • 83
  • 129
0
votes
1 answer

Permission Denied for linux-x86/bin/acp while compiling android source

I am compiling android source code. The commands were aosp_hammerhead-userdebug export OUT_DIR_COMMON_BASE=/media/entertainment/out make -j4 otapackage during the build process, after some time an error occurs: target Symbolic: libz…
gaurav414u
  • 812
  • 13
  • 22
0
votes
1 answer

OpenCV/NDK - zlib compiling issues in android makefile

I have been trying to compile my shared library which includes OpenCV libraries. My sample android make files is as below: LOCAL_PATH := (call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libopencvXXX LOCAL_SRC_FILES :=…
pree
  • 2,297
  • 6
  • 37
  • 55
0
votes
1 answer

how to add .so file in android source code build in ASOP

I just want to know how to install application in system folder during build source code with .so file . I have put .apk file in system folder but confuse where to place .so file . Then after we build source code with make command . I want to know…
i_max 77
  • 45
  • 2
  • 8
0
votes
2 answers

Android runtime linking issue

I am trying to build an application and an interface jar using the android build system in Linux My application has a dependency with my interface, hence I have to make interface jar ready before application make. But we faced build/run time issues…
Abi
  • 4,718
  • 4
  • 20
  • 29
-1
votes
1 answer

Get Timestamp in mk file

I could like to append a timestamp to the build property value in Android.mk file.Is there a way to get the current timestamp (format "YYMMDD") in a Android make file?
user2913809
  • 325
  • 2
  • 15
1 2 3
4