Error:A problem occurred configuring project ':app'. > NDK not configured

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/write6/article/details/79938852


问题:

  Error:A problem occurred configuring project ':app'.
  > NDK not configured. D:\Android\sdk\ndk-bundle

  Download it with SDK manager.




解决方法:

1、Tools -> Android -> SDK Manager









2、local.properties文件中配置NDK路径

## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Sun Apr 15 17:30:43 CST 2018
ndk.dir=D\:\\Android\\sdk\\ndk-bundle
sdk.dir=D\:\\Android\\sdk

猜你喜欢

转载自blog.csdn.net/write6/article/details/79938852