skia android编译错误解决

编译的时候,总是提示SkImageDecoder.h头文件出错,

就是要更新一下依赖库,

然后重新python tools/git-sync-deps后

重新编译bin\gn.exe gen out/armv7 --args="is_debug=false ndk=\"E:/android/android-ndk-r16b\" target_cpu=\"arm\""

然后ninja -C out\armv7即可。

如果还是出错就将Application.mk下的APP_STL改为:

APP_STL := c++_static

猜你喜欢

转载自blog.csdn.net/weixin_42001089/article/details/80769844