且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

~/Library/Android/sdk/ndk-bundle 中的 NDK 没有 source.properties 文件

更新时间:2023-11-16 21:47:40

build.gradle 文件中指定 ndk 版本后,它正在工作

After specifying ndk version in build.gradle file it is working

android {
        ndkVersion '21.3.6528147'
    }

并且在 local.properties 中删除以下内容,因为它已被弃用并且还与路径冲突:

And inside local.properties remove the following since it's deprecatedand also conflicts with path:

ndk.dir=~/Library/Android/sdk/ndk-bundle