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,775件の閲覧回数
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,689件の閲覧回数
sanshanzhang
NXP Employee
NXP Employee

Can you share your Android.mk?

0 件の賞賛
返信

1,689件の閲覧回数
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,689件の閲覧回数
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,689件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

what is the content of your Android.mk ?

0 件の賞賛
返信