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


問題:

  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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章