Open miladheydari opened 7 years ago
I just tried this and was facing the same issue. TL;DR: Move wireless-tools-android folder to AOSP_ROOT/external/ and modify config.sh and build.sh
If I build from inside of AOSP root with the proper environment variables exported (using source build/envsetup.sh
and lunch <target>
from AOSP_ROOT) it builds nicely. Further, libc has to be removed from the list of LOCAL_STATIC_LIBRARIES.
For APP_PLATFORM not set: Add this line at the end of build.sh
APP_PLATFORM=$TARGET
Leaving this here in case somebody else faces the same issues.
I just tried this and was facing the same issue. TL;DR: Move wireless-tools-android folder to AOSP_ROOT/external/ and modify config.sh and build.sh
If I build from inside of AOSP root with the proper environment variables exported (using
source build/envsetup.sh
andlunch <target>
from AOSP_ROOT) it builds nicely. Further, libc has to be removed from the list of LOCAL_STATIC_LIBRARIES.For APP_PLATFORM not set: Add this line at the end of build.sh
APP_PLATFORM=$TARGET
Leaving this here in case somebody else faces the same issues.
HI,
I have the same issue, I've moved the folder inside AOSP_ROOT/external/. Now how should I proceed? What should I run first? Should I merge AOSP_ROOT/build/envsetup.sh with config.sh and then call build.sh? Thank you.
when run ./build.sh on ubuntu 14.04 this error throw
Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-14.
/home/milad/Desktop/xc/android-ndk-r15/build/core/build-binary.mk:688: Android NDK: Module iwconfig depends on undefined modules: cutils c m
/home/milad/Desktop/xc/android-ndk-r15/build/core/build-binary.mk:701: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop.