Android 编译错误:module xxx1 missing dependencies:xxx2
Dependencies
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
项目地址:https://gitcode.com/gh_mirrors/de/Dependencies
免费下载资源
·
编译错误log
module xxx1 missing dependencies:xxx2
分析方向
1.缺少依赖库
添加依赖库
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
],
2.缺少sdk_version:
cc_binary {
name: "meigcam_cppdemo",
srcs: ["main.cpp"],
defaults: ["hidl_defaults"],
vendor: true,
sdk_version: "current",
2.缺少响应的 lib下so库
根据第一步中添加依赖库查找out目录下 out/xxx/lib 已经out/xx/lib64 是否存在响应的so库
cc_binary {
name: "rtkethernet_client",
defaults: ["hidl_defaults"],
srcs: ["Test.cpp"],
shared_libs: [
"liblog",
"libhardware",
"libhidlbase",
"libhidltransport",
"libutils",
"libui",
],
}
比如上面我编译错误,查看后发现 只有out/xxx/vendor/lib/android.hidl.base@1.0.so 而lib64下没有。
持续更新。。。
GitHub 加速计划 / de / Dependencies
8.61 K
704
下载
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
最近提交(Master分支:3 个月前 )
1997a400 - 2 年前
2f423539 - 2 年前
更多推荐
已为社区贡献6条内容
所有评论(0)