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!
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).
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.