Android Compilation NDK Error NDK_PROJECT_PATH = null

I tried running ijkplayer and I got this error.

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

I think something is with 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.

+6
source share
1 answer

Your build (gradle?) Does not pass the correct path to the root of your project in ndk-build.cmd .

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

+8
source

Source: https://habr.com/ru/post/976214/


All Articles