Cocos in Jenkisn builds an Android project and reports that the SDK NDK cannot be found

Local environment SDK NDK variable environment has been configured
Jenkins environment variable SDK NDK has also been configured

The local cmd command runs Cocos to build the Android project successfully
insert image description here
, but the build in Jenkins will report an error.
insert image description here
The reason is that Jenkins has insufficient permissions. You need to authorize Jenkins to access the user's home folder on the computer.

Guess you like

Origin blog.csdn.net/ok6671552/article/details/132101086