Hello,
Could you please help me to fix issues I faced while building Android_rk12.1 for Radxa ROCK 5B. I am building an Android in order to get support of WiFi RTL8852BE with 10ec:b852 and custom screen resolutions.
The issues are:
- error: Cannot link file build/bazel/bazel.BUILD to … rock-android12/BUILD
- Build sandboxing disabled due to nsjail error.
- make[1]: *** Documentation/Kbuild: Is a directory. Stop.
#1 During a repository cloning I got “error: Cannot link file build/bazel/bazel.BUILD to … rock-android12/BUILD”:
rock-android12 % repo init -u https://github.com/radxa/manifests.git -b Android12_RK3588_Radxa_rk12 -m rockchip-s-release.xml
rock-android12 % repo sync -d --no-tags -j4
Fetching: 100% (1083/1083), done in 4m23.376s
error: Cannot link file build/bazel/bazel.BUILD to /Users/Andrei_Bryleuski/Documents/Personal/RockPI5B/rock-android12/BUILD
error: Cannot link file build/bazel/bazel.BUILD to /Users/Andrei_Bryleuski/Documents/Personal/RockPI5B/rock-android12/BUILD
Checking out: 100% (1083/1083), done in 17.691s
repo sync has finished successfully.
#2 “lunch RadxaRock5B-userdebug” & “./build.sh -UACKup” print:
Build sandboxing disabled due to nsjail error.
#3 “./build.sh -UACKup” failed with:
Build uboot ok!
Start build kernel
make[1]: *** Documentation/Kbuild: Is a directory. Stop.
Makefile:1924: recipe for target ‘_clean_Documentation’ failed
make: *** [_clean_Documentation] Error 2
#### failed to build some targets (18 seconds) ####
Build kernel failed!