0
我想編譯一個包含android_filesystem_config.h的應用程序。該文件看起來不是NDK或SDK的一部分。我在哪裏可以獲得這個圖書館,以及它如何按照慣例安裝?如何安裝android_filesystem_config標題?
我想編譯一個包含android_filesystem_config.h的應用程序。該文件看起來不是NDK或SDK的一部分。我在哪裏可以獲得這個圖書館,以及它如何按照慣例安裝?如何安裝android_filesystem_config標題?
你可以在android源文件中的system/core/include/private/android_filesystem_config.h中找到該文件。
在這個源文件中指出以下幾點:
/* This file is used to define the properties of the filesystem
* images generated by build tools (mkbootfs and mkyaffs2image) and
* by the device side of adb.
*/
你說得對,這不是SDK或NDK的一部分。
我不太確定你是否能夠在你的應用程序中包含這個文件,而無需執行一些代碼調整。我建議你嘗試與Android源一起編譯應用程序。