如何解决android NDK r8c 老是重新编译源代码的问题
16lz
2021-01-24
android ndk r8c貌似没有经过严格的发布测试,导致每次Build工程都需要重新编译代码,即使你没有修改任何文件。
碰到这个问题的朋友有很多,今天在谷歌论坛上找到了解决方案,与大家共享之:
解决的方法很简单,只要修改一行即可,下面直接引用:
I believe that the fix is easy: use order-only prerequisite, (cf. http://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html).The patch is to change a single line 289 in build/core/definitions.mk from $1: $$(__ndk_file_dir)to $1: | $$(__ndk_file_dir)Enjoy,Alex Cohn
感谢Alex Cohn
更多相关文章
- android 资源文件的种类
- android apk反编译(zz)
- Android(安卓)文件存储
- Android输入输出机制之来龙去脉之前生后世
- Android使用Realm数据库实现App中的收藏功能(代码详解)
- Android中Adapter中edittext,checkbox记住状态解决方案(一)
- Android(安卓)进程间通信AIDL简单使用
- 轻量级Android(安卓)HTTP框架
- Android(安卓)DiskLruCache完全解析