Android aapt.exe Нулевое значение выхода 1 - PullRequest
0 голосов
/ 18 июня 2019

Я работал над приложением для Android с различными действиями, и только недавно я не смог собрать, так как получаю ошибку сборки

Process 'command 'C:\Users\TA\AppData\Local\Android\Sdk\build-tools\25.0.2\aapt.exe'' finished with non-zero exit value 1

Вот как выглядит журнал:

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugResources'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:103)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:73)
    at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
    at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
    at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
    at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
    at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
    at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:256)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:249)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:238)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:663)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:597)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Failed to execute aapt
    at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:201)
    at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:82)
    at sun.reflect.GeneratedMethodAccessor330.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
    at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:124)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:113)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:95)
    ... 33 more
Caused by: com.android.ide.common.process.ProcessException: Failed to execute aapt
    at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:867)
    at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:194)
    ... 48 more
Caused by: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\TA\AppData\Local\Android\Sdk\build-tools\25.0.2\aapt.exe with arguments {package -f --no-crunch -I C:\Users\TA\AppData\Local\Android\Sdk\platforms\android-22\android.jar -M \\?\C:\Users\TA\Documents\Android Full Test\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug -m -J \\?\C:\Users\TA\Documents\Android Full Test\app\build\generated\source\r\debug -F C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\resources-debug.ap_ --debug-mode --custom-package androidfulltest -0 apk --output-text-symbols \\?\C:\Users\TA\Documents\Android Full Test\app\build\intermediates\symbols\debug --no-version-vectors}
    at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)
    at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)
    at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
    at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:865)
    ... 49 more
Caused by: com.android.ide.common.process.ProcessException: Error while executing process C:\Users\TA\AppData\Local\Android\Sdk\build-tools\25.0.2\aapt.exe with arguments {package -f --no-crunch -I C:\Users\TA\AppData\Local\Android\Sdk\platforms\android-22\android.jar -M \\?\C:\Users\TA\Documents\Android Full Test\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug -m -J \\?\C:\Users\TA\Documents\Android Full Test\app\build\generated\source\r\debug -F C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\resources-debug.ap_ --debug-mode --custom-package com.zebratechnologies.androidfulltest -0 apk --output-text-symbols \\?\C:\Users\TA\Documents\Android Full Test\app\build\intermediates\symbols\debug --no-version-vectors}
    at com.android.build.gradle.internal.process.GradleProcessResult.buildProcessException(GradleProcessResult.java:74)
    at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:49)
    at com.android.builder.internal.aapt.AbstractProcessExecutionAapt$1.onSuccess(AbstractProcessExecutionAapt.java:78)
    at com.android.builder.internal.aapt.AbstractProcessExecutionAapt$1.onSuccess(AbstractProcessExecutionAapt.java:74)
    at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
    at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
    at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
    at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
    at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
    at com.android.build.gradle.internal.process.GradleProcessExecutor$1.run(GradleProcessExecutor.java:60)
Caused by: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\TA\AppData\Local\Android\Sdk\build-tools\25.0.2\aapt.exe'' finished with non-zero exit value 1
    at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:389)
    at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:47)
    ... 9 more

Вот как выглядит мой Gradle (примечание: я использую плагин Gradle 2.3.3 с Gradle версии 4.1, поэтому компиляция все еще используется, а не реализация):

apply plugin: 'com.android.application'

android {

    defaultConfig {
        buildToolsVersion '25.0.2'
        compileSdkVersion 'Zebra Technologies Corp:EMDK APIs:22'
        applicationId "androidfulltest"
        minSdkVersion 22
        targetSdkVersion 27
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
            applicationVariants.all { variant ->
                variant.outputs.each { output ->
                   // def fileName = "${project.name}_${output.baseName}-${variant.versionName}.apk"
                    //outputFileName = new File(output.outputFile.parent, fileName).getName()
                      output.outputFile = new File(output.outputFile.parent,
                             output.outputFile.name.replace("app-release-unsigned", "AndroidFullTest"))
                }
            }
        }
        debug {
            applicationVariants.all { variant ->
                variant.outputs.each { output ->
                   // def fileName = "${project.name}_${output.baseName}-${variant.versionName}.apk"
                   // outputFileName = new File(output.outputFile.parent, fileName).getName()
                      output.outputFile = new File(output.outputFile.parent,
                         output.outputFile.name.replace("app-debug", "AndroidFullTest"))
                }
            }
        }
    }
   // productFlavors {
    //}
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
}

    dependencies {

        compile 'com.android.support.constraint:constraint-layout:2.0.0-beta2'
        compile 'com.google.android.things:androidthings:1.0'
        compile 'com.android.support:recyclerview-v7:22.1.1'
        compile "com.android.support:appcompat-v7:26.0.2"
        compile "com.android.support:support-v13:26.0.2"
    }

Вот так выглядит мой манифест:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="testAct"
    android:installLocation="internalOnly"
    android:versionCode="1"
    android:versionName="1.0" >

    <!--uses-sdk
        android:minSdkVersion="23"
        android:targetSdkVersion="25" /-->
    <uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.CAMERA"/>
    <uses-permission android:name="android.permission.FLASHLIGHT"/>
    <uses-permission android:name="android.permission.BATTERY_STATS"/>
    <uses-permission android:name="android.permission.NFC" />
    <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
    <uses-permission android:name="android.permission.BLUETOOTH"/>
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="com.symbol.emdk.permission.EMDK"/>
    <uses-permission android:name="com.google.android.things.permission.MANAGE_INPUT_DRIVERS" />
    <uses-permission android:name="com.google.android.things.permission.USE_PERIPHERAL_IO" />
    <uses-permission android:name="android.permission.GET_TASKS"/>
    <uses-feature android:name="android.hardware.camera" />

    <uses-feature android:name="android.hardware.camera.front" />
    <uses-feature android:name="android.hardware.camera.autofocus" />
    <uses-feature android:name="android.hardware.camera.flash" android:required="false" />
    <uses-feature android:name="android.hardware.usb.host" />

    <application android:name="testAct.GlobalVars"
        android:allowBackup="true"
        android:icon="@drawable/zebra_head"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">
        <uses-library android:name="com.symbol.emdk" />
       <!-- <uses-library android:name="com.google.android.things.pio" /> -->
        <class android:name="testAct.GlobalVars" />
        <activity android:name="testAct.SplashMainActivity" android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>          
        </activity>
        <activity android:name="testAct.ConfigCheckTestActivity" android:label="@string/str_config_check_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.DisplayTestActivity" android:label="@string/str_display_test_title" android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.TouchpanelTestActivity" android:label="@string/str_touchpanel_test_title" android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>   
        <activity android:name="testAct.BacklightTestActivity" android:label="@string/str_backlight_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>  
        <activity android:name="testAct.ButtonsTestActivity" android:label="@string/str_buttons_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.SDCardTestActivity" android:label="@string/str_sdcard_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.FrontMicrophoneTestActivity" android:label="@string/str_front_microphone_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.RearMicTestActivity" android:label="@string/str_rear_microphone_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.SpeakerTestActivity" android:label="@string/str_speaker_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.MultiTouchTestActivity" android:label="Multi-Touch Test">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.HeadsetTestActivity" android:label="@string/str_headset_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.ScannerTestActivity" android:label="@string/str_scanner_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.CameraFrontTestActivity" android:label="@string/str_camera_front_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.NFCReadTestActivity" android:label="@string/str_nfc_read_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.WiFi2GTestActivity" android:label="@string/str_wifi2g_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.WiFi5GTestActivity" android:label="@string/str_wifi5g_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.BluetoothTestActivity" android:label="@string/str_bluetooth_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.EthernetTestActivity" android:label="@string/str_ethernet_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.USBHostTestActivity" android:label="@string/str_usb_host_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.FailedTestActivity" android:label="@string/str_failed_test_title">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.LightSensorTestActivity" android:label="@string/str_light_sensor_test_message">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.GSensorTestActivity" android:label="@string/str_g_sensor_test_message">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.CompassTestActivity" android:label="@string/str_compass_test_message">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.CameraBackTestActivity" android:label="**Rear Camera Test**">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
        <activity android:name="testAct.SerialPortTestActivity" android:label="**Serial Port Test**">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
            </intent-filter>
        </activity>
    </application>

</manifest>

Это то, что выводит сборка при попадании в aapt.exe:

Starting process 'command 'C:\Users\TA\AppData\Local\Android\Sdk\build-tools\25.0.0\aapt.exe''. Working directory: C:\Users\TA\Documents\Android Full Test\app Command: C:\Users\TA\AppData\Local\Android\Sdk\build-tools\25.0.0\aapt.exe package -f --no-crunch -I C:\Users\TA\AppData\Local\Android\Sdk\platforms\android-22\android.jar -M \\?\C:\Users\TA\Documents\Android Full Test\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug -m -J \\?\C:\Users\TA\Documents\Android Full Test\app\build\generated\source\r\debug -F C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\resources-debug.ap_ --debug-mode --custom-package com.zebratechnologies.androidfulltest -0 apk --output-text-symbols \\?\C:\Users\TA\Documents\Android Full Test\app\build\intermediates\symbols\debug --no-version-vectors
Successfully started process 'command 'C:\Users\TA\AppData\Local\Android\Sdk\build-tools\25.0.0\aapt.exe''
AGPBI: {"kind":"error","text":"Attribute \"android:alpha\" has already been defined","sources":[{"file":"C:\\Users\\TA\\Documents\\Android Full Test\\app\\build\\intermediates\\res\\merged\\debug\\values\\values.xml","position":{"startLine":644}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Attribute \"android:translationX\" has already been defined","sources":[{"file":"C:\\Users\\TA\\Documents\\Android Full Test\\app\\build\\intermediates\\res\\merged\\debug\\values\\values.xml","position":{"startLine":687}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Attribute \"android:translationY\" has already been defined","sources":[{"file":"C:\\Users\\TA\\Documents\\Android Full Test\\app\\build\\intermediates\\res\\merged\\debug\\values\\values.xml","position":{"startLine":687}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Attribute \"android:translationZ\" has already been defined","sources":[{"file":"C:\\Users\\TA\\Documents\\Android Full Test\\app\\build\\intermediates\\res\\merged\\debug\\values\\values.xml","position":{"startLine":687}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Error retrieving parent for item: No resource found that matches the given name \u0027android:TextAppearance.Material.Widget.Button.Inverse\u0027.","sources":[{"file":"C:\\Users\\TA\\Documents\\Android Full Test\\app\\build\\intermediates\\res\\merged\\debug\\values-v23\\values-v23.xml","position":{"startLine":3}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Error retrieving parent for item: No resource found that matches the given name \u0027android:Widget.Material.Button.Colored\u0027.","sources":[{"file":"C:\\Users\\TA\\Documents\\Android Full Test\\app\\build\\intermediates\\res\\merged\\debug\\values-v23\\values-v23.xml","position":{"startLine":33}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Error retrieving parent for item: No resource found that matches the given name \u0027android:TextAppearance.Material.Widget.Button.Borderless.Colored\u0027.","sources":[{"file":"C:\\Users\\TA\\Documents\\Android Full Test\\app\\build\\intermediates\\res\\merged\\debug\\values-v24\\values-v24.xml","position":{"startLine":2}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Error retrieving parent for item: No resource found that matches the given name \u0027android:TextAppearance.Material.Widget.Button.Colored\u0027.","sources":[{"file":"C:\\Users\\TA\\Documents\\Android Full Test\\app\\build\\intermediates\\res\\merged\\debug\\values-v24\\values-v24.xml","position":{"startLine":3}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"No resource found that matches the given name: attr \u0027android:keyboardNavigationCluster\u0027.","sources":[{"file":"C:\\Users\\TA\\Documents\\Android Full Test\\app\\build\\intermediates\\res\\merged\\debug\\values-v26\\values-v26.xml","position":{"startLine":14,"startColumn":20,"startOffset":832,"endColumn":53,"endOffset":865}}],"original":"","tool":"AAPT"}
C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug\values\values.xml:645: error: Attribute "android:alpha" has already been defined
C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug\values\values.xml:688: error: Attribute "android:translationX" has already been defined
C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug\values\values.xml:688: error: Attribute "android:translationY" has already been defined
C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug\values\values.xml:688: error: Attribute "android:translationZ" has already been defined
C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug\values-v23\values-v23.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.

C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug\values-v23\values-v23.xml:34: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.

C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

C:\Users\TA\Documents\Android Full Test\app\build\intermediates\res\merged\debug\values-v26\values-v26.xml:15: error: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.


:app:processDebugResources FAILED
:app:processDebugResources (Thread[Task worker for ':',5,main]) completed. Took 0.576 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

Пока у меня есть:

-Uninstalled and reinstalled all plugins
-Cleaned and built the project
-Invalidated caches and restarted Android Studio
-Changed the minSdkVersion and targetSdkVersions to match, for each version that 
  currently exists, none have worked
-Changed the buildToolsVersion to each version that currently exists, none have 
  worked

Есть ли у кого-нибудь еще идеи о том, что мне следует сделать, чтобы это исправить? Спасибо за любую помощь.

...