Android Could not find method ndk

Error:(24, 0) Could not find method ndk() for arguments [build_891qepz0rctnrwl3xcb2ddug5$_run_closure1$_closure5@29f50b4f] on object of type com.android.build.gradle.AppExtension.Open File

把 ndk 放在 defaultConfig 里面

defaultConfig {

…..

ndk {

}

…..

}

    原文作者:阿_贵
    原文地址: https://www.jianshu.com/p/771578a431d9
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞