一、遇到问题
> Configure project :app
Location specified by ndk.dir () did not contain a valid NDK and so couldn't satisfy the required NDK version 20.0.5594570
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> NDK not configured. Download it with SDK manager. Preferred NDK version is '20.0.5594570'. Log: E:\umeng\CrashDemo-1.2.0\app\.cxx\ndk_locator_record.json
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
二、解决问题
打开local.properties
找到ndk目录,并写进去
觉得好,就一键三连呗(点赞+收藏+关注)