简体   繁体   中英

Android NDK Compile error NDK_PROJECT_PATH=null

I tried run ijkplayer and I recieved this error.

  C:\ndk\ndk-build.cmd NDK_PROJECT_PATH=null 

I think is something with the build.gradle but I don't know what.

My ndk directory is on c:\\ndk and I have ndk 32bit.

I appreciate your help.

Thanks.

Your build (gradle ?) is not passing proper path to the root of your project to ndk-build.cmd .

You can run the ndk-build.cmd from command line. Open a command prompt, cd into your module folder (it should have jni folder) , and run c:\\ndk\\ndk-build.cmd it will use the current path as the NDK_PROJECT_PATH

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM