Preacher_Qiao 2016-12-21 03:49 采纳率: 0%
浏览 1430

Mac编译android 5.0源码报错

我使用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

make failed to build some targets (01:01 (mm:ss))

  • 写回答

2条回答

  • oyljerry 2016-12-21 04:37
    关注

    你的mac操作系统版本是否升级为10.12最新了。

    评论

报告相同问题?

悬赏问题

  • ¥50 求图像处理的matlab方案
  • ¥50 winform中使用edge的Kiosk模式
  • ¥15 关于#python#的问题:功能监听网页
  • ¥15 怎么让wx群机器人发送音乐
  • ¥15 fesafe材料库问题
  • ¥35 beats蓝牙耳机怎么查看日志
  • ¥15 Fluent齿轮搅油
  • ¥15 八爪鱼爬数据为什么自己停了
  • ¥15 交替优化波束形成和ris反射角使保密速率最大化
  • ¥15 树莓派与pix飞控通信