Android 4.3 "make update-api" error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Android 4.3 "make update-api" error

4,331件の閲覧回数
weikeng-jimmy
Contributor III

Hi SIR,

My customers want to add API in the android framework .We use "make update-api" can success to add, the BSP version is android 4.2.2

But Android 4.3 BSP make some error as below .

Checking build tools versions...
build/core/base_rules.mk:130: *** external/wpa_supplicant_8/wpa_supplicant: MODULE.TARGET.ETC.wpa_supplicant.conf already defined by external/wpa_supplicant_8/wpa_supplicant.  Stop.

How can we solve it? Thanks!

ラベル(2)
2 返答(返信)

1,673件の閲覧回数
michaelrobbelot
Contributor IV

Jimmy,

I found that this error could be due to a hidden character in one of your device/.../*.mk files that breaks the device configuration. If you are using an editor w/ syntax color coding, look for an unusual change in coloring (syntax looks right, but the editor doesn't think so).

Michael Robbeloth

0 件の賞賛
返信

1,673件の閲覧回数
max_tsai
NXP Employee
NXP Employee

hi Jimmy,

According to your log, the build target - "wpa_supplicant.conf" is defined twice.

"external/wpa_supplicant_8/wpa_supplicant/Android.mk" and "external/wpa_supplicant_8/wpa_supplicant/wpa_supplicant_conf.mk" both defined about "wpa_supplicant.conf". I checked JB4.3_1.1.0-ga, the wpa_supplicant_conf.mk doesn't be refered by "make update-api". Please check if your BSP is changed about this part.

Regards,

Max