unable to compile the newly added files in the android source code while building the android image

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

unable to compile the newly added files in the android source code while building the android image

1,700 次查看
mutyalaraoneela
Contributor III

HI,

     Iam not able to see the binaries of my newly added folder in the android source code in kitkat 4.4.3_2.0.0 in EXECUTABLES while building the source code.But at the time of building I am able to see it including the Android.mk file of my folder but not compiling the "c" files in that particular folder.Iam using 12.04 ubuntu (64bit).

Please help me in getting out of this.Waiting for positive reply.

Thank you,

Mutyala rao.

0 项奖励
回复
4 回复数

1,614 次查看
sanshanzhang
NXP Employee
NXP Employee

Can you share your Android.mk?

0 项奖励
回复

1,614 次查看
jimmychan
NXP TechSupport
NXP TechSupport

here is the example:

LOCAL_PATH:=$(call my-dir)

include $(CLEAR_VARS)

LOCAL_SRC_FILES:= helloworld.c

LOCAL_MODULE:= helloworld

LOCAL_MODULE_TAGS := optional

include $(BUILD_EXECUTABLE)

0 项奖励
回复

1,614 次查看
sanshanzhang
NXP Employee
NXP Employee

Firstly your .mk file  should be included by your last dir.

Secondly, you should add helloworld in PRODUCT_PACKAGE which is in  device/fsl/imx6/imx6.mk

0 项奖励
回复

1,614 次查看
jimmychan
NXP TechSupport
NXP TechSupport

what is the content of your Android.mk ?

0 项奖励
回复