我使用mac编译android源码,踩了无数的坑,但最后有的是在网上找到解决方法了,有的靠自己试出来了,但是今天这个问题我实在是找不到解决方法,求各位大神帮忙解答:
错误信息如下:
host C++: validatekeymaps <= frameworks/base/tools/validatekeymaps/Main.cpp
host C++: libinput_32 <= frameworks/native/libs/input/Input.cpp
host C++: libinput_32 <= frameworks/native/libs/input/InputDevice.cpp
host C++: libinput_32 <= frameworks/native/libs/input/Keyboard.cpp
:0: error: Unknown value ‘10.12’ of -mmacosx-version-min
:0: error: Unknown value ‘10.12’ of -mmacosx-version-min
:0: error: Unknown value ‘10.12’ of -mmacosx-version-min
:0: error: Unknown value ‘10.12’ of -mmacosx-version-min
In file included from system/core/include/cutils/log.h:1,
from system/core/include/utils/KeyedVector.h:24,
from frameworks/native/include/input/Input.h:26,
from frameworks/native/include/input/KeyCharacterMap.h:26,
from frameworks/base/tools/validatekeymaps/Main.cpp:17:
system/core/include/log/log.h:35:20: error: stdarg.h: No such file or directory
In file included from system/core/include/cutils/log.h:1,
from system/core/include/utils/KeyedVector.h:24,
from frameworks/native/include/input/Input.h:26,
from frameworks/native/libs/input/Input.cpp:23:
system/core/include/log/log.h:35:20: error: stdarg.h: No such file or directory
In file included from system/core/include/cutils/log.h:1,
from system/core/include/utils/KeyedVector.h:24,
from frameworks/native/include/input/Input.h:26,
from frameworks/native/include/input/InputDevice.h:20,
from frameworks/native/libs/input/InputDevice.cpp:23:
system/core/include/log/log.h:35:20: error: stdarg.h: No such file or directory
In file included from system/core/include/cutils/log.h:1,
from system/core/include/utils/KeyedVector.h:24,
from frameworks/native/include/input/Input.h:26,
from frameworks/native/include/input/Keyboard.h:20,
from frameworks/native/libs/input/Keyboard.cpp:23:
system/core/include/log/log.h:35:20: error: stdarg.h: No such file or directory
make: *** [out/host/darwin-x86/obj32/EXECUTABLES/validatekeymaps_intermediates/Main.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/darwin-x86/obj32/STATIC_LIBRARIES/libinput_intermediates/Input.o] Error 1
make: *** [out/host/darwin-x86/obj32/STATIC_LIBRARIES/libinput_intermediates/InputDevice.o] Error 1
make: *** [out/host/darwin-x86/obj32/STATIC_LIBRARIES/libinput_intermediates/Keyboard.o] Error 1
Mac编译android 5.0源码报错
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-