我使用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 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
2条回答 默认 最新
悬赏问题
- ¥15 微信会员卡等级和折扣规则
- ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
- ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
- ¥15 gdf格式的脑电数据如何处理matlab
- ¥20 重新写的代码替换了之后运行hbuliderx就这样了
- ¥100 监控抖音用户作品更新可以微信公众号提醒
- ¥15 UE5 如何可以不渲染HDRIBackdrop背景
- ¥70 2048小游戏毕设项目
- ¥20 mysql架构,按照姓名分表
- ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分