Android 4.3 "make update-api" error

cancel
Showing results for 
Search instead for 
Did you mean: 

Android 4.3 "make update-api" error

2,751 Views
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!

Labels (2)
2 Replies

93 Views
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 Kudos

93 Views
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