type
status
date
slug
summary
tags
category
icon
password
notion image
在VSCode 中 ,打开命令面板进行编辑,可以使用UI页面编辑,也可以直接编辑json文件.
主要就是includePath,把主要的头文件路径都包含进去:
{ "configurations": [ { "name": "Mac", "includePath": [ "${workspaceFolder}/frameworks/base/core/jni/include", "${workspaceFolder}/frameworks/base/libs/androidfw/include", "${workspaceFolder}/frameworks/base/libs/services/include", "${workspaceFolder}/frameworks/base/libs/storage/include", "${workspaceFolder}/frameworks/base/libs/protoutil/include", "${workspaceFolder}/frameworks/base/libs/incident/include", "${workspaceFolder}/frameworks/base/native/android/include", "${workspaceFolder}/frameworks/native/include", "${workspaceFolder}/hardware/libhardware/include", "${workspaceFolder}/system/core/include", "${workspaceFolder}/libnativehelper/include", "${workspaceFolder}/libnativehelper/header_only_include", "${workspaceFolder}/libnativehelper/include_jni", "${workspaceFolder}/art/libnativeloader/include", "${workspaceFolder}/bionic/libstdc++/include", "${workspaceFolder}/bionic/libc/include", "${workspaceFolder}/**" ], "defines": [], "macFrameworkPath": [], "compilerPath": "/usr/bin/clang++", "cStandard": "c11", "cppStandard": "gnu++14", "intelliSenseMode": "clang-x64" } ], "version": 4 }
Android中的显示布局边界深入浅出Android中的事件分发机制
姜康
姜康
一个软件工程师
公告
type
status
date
slug
summary
tags
category
icon
password
🎉博客网站重新制作了🎉
👏欢迎更新体验👏