在带前缀的 ABI 的 NDK 工具链文件夹中找不到工具链
No toolchains found in the NDK toolchains folder for ABI with prefix
我想为我从 GitHub 下载的应用程序代码创建 Flowing Drawer,但是当 running/executing 代码时我遇到以下错误
No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android
请参阅以下来自 build.gradle 的代码(应用程序和模块级别)
模块级别build.gradle
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
应用级别build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "com.mxn.soul.flowingdrawer"
minSdkVersion 14
targetSdkVersion 28
versionCode 120
versionName "1.2.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.squareup.picasso:picasso:2.5.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.nineoldandroids:library:2.4.0'
implementation project(':flowingdrawer-core')
}
我想创建这样的流动抽屉
enter image description here
替换
classpath 'com.android.tools.build:gradle:2.2.0'
和
classpath 'com.android.tools.build:gradle:3.2.0'
在模块级别 build.gradle 文件中。
简而言之,解决方案是将您的烤盘升级到 3.1 或更高级别,以修复 No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android 问题。
我想为我从 GitHub 下载的应用程序代码创建 Flowing Drawer,但是当 running/executing 代码时我遇到以下错误
No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android
请参阅以下来自 build.gradle 的代码(应用程序和模块级别)
模块级别build.gradle
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
应用级别build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "com.mxn.soul.flowingdrawer"
minSdkVersion 14
targetSdkVersion 28
versionCode 120
versionName "1.2.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.squareup.picasso:picasso:2.5.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.nineoldandroids:library:2.4.0'
implementation project(':flowingdrawer-core')
}
我想创建这样的流动抽屉 enter image description here
替换
classpath 'com.android.tools.build:gradle:2.2.0'
和
classpath 'com.android.tools.build:gradle:3.2.0'
在模块级别 build.gradle 文件中。
简而言之,解决方案是将您的烤盘升级到 3.1 或更高级别,以修复 No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android 问题。