我在建立成绩时遇到了这个错误
错误:任务':app:processDebugResources'的执行失败.>没有奴隶进程来处理作业,中止
的build.gradle
apply plugin: 'com.android.application' android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "com.colorball.madness"
minSdkVersion 14
targetSdkVersion 26
multiDexEnabled true
ndk {
moduleName "player_shared"
}}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
} } }dependencies {
compile 'com.google.android.gms:play-services:+'
compile files('libs/dagger-1.2.2.jar')
compile files('libs/javax.inject-1.jar')
compile files('libs/nineoldandroids-2.4.0.jar')
compile files('libs/PTAdRevMob.jar')
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:multidex:1.0.1'
compile files('libs/support-v4-19.0.1.jar')}
Run Code Online (Sandbox Code Playgroud) 假设我有两个活动 A 和 B 活动 A,其中包含一个按钮,当我无意按下按钮时,我想启动活动 B。