0

我使用 git 导入了 HoloEverywhere 并遇到了很多错误,但我设法修复了其中一些。但是,我找不到此错误的解决方案:

Error:Execution failed for task ':app:libs:HoloEverywhere:processReleaseResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
    D:\Program Files (x86)\Android\android-sdk\build-tools\19.0.0\aapt.exe package -f --no-crunch -I D:\Program Files (x86)\Android\android-sdk\platforms\android-19\android.jar -M D:\Users\Kelvz\AndroidStudioProjects\AUFMobileSchoolBliz\app\libs\HoloEverywhere\build\bundles\release\AndroidManifest.xml -S D:\Users\Kelvz\AndroidStudioProjects\AUFMobileSchoolBliz\app\libs\HoloEverywhere\build\res\all\release -A D:\Users\Kelvz\AndroidStudioProjects\AUFMobileSchoolBliz\app\libs\HoloEverywhere\build\bundles\release\assets -m -J D:\Users\Kelvz\AndroidStudioProjects\AUFMobileSchoolBliz\app\libs\HoloEverywhere\build\source\r\release --non-constant-id --output-text-symbols D:\Users\Kelvz\AndroidStudioProjects\AUFMobileSchoolBliz\app\libs\HoloEverywhere\build\bundles\release
Error Code:
    1
Output:
    ERROR: In <declare-styleable> LinearLayoutICS, unable to find attribute divider

这是我的 HoloEverywhere 的 build.gradle:

apply plugin: 'android-library'

android {
    compileSdkVersion 19
    buildToolsVersion '19.0.0'

    defaultConfig {
        minSdkVersion 7
    }

    sourceSets {

        main {
            manifest.srcFile 'AndroidManifest.xml'
            java.srcDirs = ['src']
            res.srcDirs = ['res']
        }

    }
}


dependencies {
    compile 'com.android.support:appcompat-v7:+'
    compile files('libs/support-v4-19.1.0.jar')
    compile files('libs/nineoldandroids-2.4.0.jar')
}

这是我的主要应用程序的 build.gradle:

apply plugin: 'android'

android {
    compileSdkVersion 19
    buildToolsVersion "19.0.0"

    defaultConfig {
        minSdkVersion 10
        targetSdkVersion 19
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            runProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }
}

dependencies {
    compile project(':app:libs:HoloEverywhere')
    compile fileTree(dir: 'libs', include: ['*.jar'])
}
4

0 回答 0