FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':sqlite3'.
> NDK not configured.
Download it with SDK manager.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 7s
当 Android Studio 试图配置该项目时,我得到了类似的错误。在我安装了 NDK (Obsolete)包之后,所有的配置都正确了。
SQLite的 gradle配置严重过时 :
返回文章页面
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
ndk.dir=/Users/\{\{username}}/Library/Android/sdk/ndk-bundle #in mac
ndk.dir=C:\\Users\\\{\{username}}\\AppData\\Local\\Android\\sdk\\ndk-bundle #in Windows