安卓编译报错:missing and no known to make it
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安卓编译报错:missing and no known to make it相关的知识,希望对你有一定的参考价值。
Ninja:entering directory ‘.’
Ninja:error:‘out/target/product/*****_3h10/obj/SHARED_LIBRARIES/libcamsensor_intermediates/export_includes’, need by ‘out/target/product/****_3h10/obj/SHARED_LIBRARIES/camera.sc8830_intermediates/import_includes’ , missing and no known to make it
Make:**[ninja_wrapper] Error 1
make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/libprotobuf-Java-2.3.0-nano_intermediates/javalib.jar', needed by `out/target/common/obj/APPS/Launcher3_intermediates/classes-full-debug.jar'. Stop.
原生的SDK居然报错,没办法只能着手分析了。从字面分析来看是编译需要的protobuf jar包没有build进去导致的,先看看是哪个相关的包。
host-libprotobuf-java-2.3.0-nano.jar这个jar包没编译出来,看了下源码的mk文件,是有相关的编译配置的,于是想想是不是有编译依赖包相关的指令,
网上一找,还真有mma,于是mma一敲,哗啦啦的过了。
网上有很多介绍的文章是在eclips中导入应用进行编译的,此处就不作分析了。回头有空研究下这些个编译指令。。。追问
在工程下用make整编会报这个错误,mma编译也会报错。在out目录下就没有找到obj这个目录,怎么解决啊-.-||
参考技术A 你好 请问这个问题你解决了吗?怎么解决的,问题出在哪里format not a string literal and no format arguments
今天cocos2d-x打包 android的时候报错:format not a string literal and no format arguments
报错点是:__String::createWithFormat(s_szFuWenEffect2[GetType()])->getCString()
代码vs2015编译是通过的,没任何问题。
修改方法:__String::createWithFormat("%s", s_szFuWenEffect2[GetType()])->getCString()
以上是关于安卓编译报错:missing and no known to make it的主要内容,如果未能解决你的问题,请参考以下文章
zookeeper报错:myid file is missing
cmake ninja: error: 'xxx', needed by 'xxx', missing and no known rule to make it
错误记录安卓 RecyclerView 报错 ( only use immediately and call holder.getAdapterPosition() to look it up )(代
makefile编译报错之missing separator解决
mysql报错:Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 63593957 and the