Your APP_BUILD_SCRIPT points to an unknown file using Android ndk-build

后端 未结 16 906
半阙折子戏
半阙折子戏 2020-12-01 15:45

I get the following error while trying to compile an Android NDK project:

ndk-build 
Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: /home/lamb         


        
16条回答
  •  旧时难觅i
    2020-12-01 16:47

    Please remove these directories

    rm -rf .externalNativeBuild //if exits
    
    rm -rf app/.externalNativeBuild
    
    rm -rf app/.cxx/ //if exits
    
    rm -rf app/build/
    

    then rebuild the project.

提交回复
热议问题