小编Muh*_*man的帖子

构建gradle时出现此错误错误:任务':app:processDebugResources'的执行失败.>没有奴隶进程来处理作业,中止

我在建立成绩时遇到了这个错误

错误:任务':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)

android gradle android-gradle-plugin android-studio-2.3

7
推荐指数
1
解决办法
6927
查看次数

Android如何在没有意图或背景的情况下启动活动

假设我有两个活动 A 和 B 活动 A,其中包含一个按钮,当我无意按下按钮时,我想启动活动 B。

android android-intent

2
推荐指数
1
解决办法
8670
查看次数