How to configure NDK project in Android Studio 1.3

前端 未结 3 922
有刺的猬
有刺的猬 2021-02-20 03:08

I have been trying to configure Android Studio for NDk by following this article and this article. The following are the contents of my gradle-wrapper.properties



        
3条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-20 03:57

    Have you declare your NDK path in Local.property file ??

    Looks like the environment path and the local.properties files are pointing to different locations:

    PATH: C:\Program Files (x86)\Android\android-ndk-r9d
    

    local.properties: C:\Program Files (x86)\Android\android-studio\android-ndk-r9d

    Make sure which is right. You can keep the PATH and drop the local.properties declerations, and then try this command through the console: ndk-build -? to see if it was found in PATH

提交回复
热议问题