ccache:error: Failed to create directory /home/.ccache/tmp: Read-only file system.
2.解决
1.创建新目录,将/home/.ccache挂载上来
# mkdir /home/.android12_ccache
# sudo mount --bind /home/.ccache /home/.android12_ccache
2.配置ccache使能、路径、及大小
# export USE_CCACHE=1
# export CCACHE_EXEC=/usr/bin/ccache
# export CCACHE_DIR=/home/.android12_ccache
# ccache -M 250G -F 0