Не удалось выполнить задачу ': app: processDebugResources' Не удалось связать ресурс Android - PullRequest
0 голосов
/ 28 апреля 2019

Вот ошибка из Android Studio

Executing tasks: [clean, :app:assembleDebug]

> Task :app:clean
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:checkDebugManifest
> Task :app:generateDebugBuildConfig
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:generateDebugSources
> Task :app:javaPreCompileDebug
> Task :app:mainApkListPersistenceDebug
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:mergeDebugResources
> Task :app:createDebugCompatibleScreenManifests
> Task :app:processDebugManifest
> Task :app:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
  error: resource style/Theme.AppCompat.Light (aka ca.greatwebdesign.masterminddeluxe:style/Theme.AppCompat.Light) not found.
  error: resource style/Theme.AppCompat.Light (aka ca.greatwebdesign.masterminddeluxe:style/Theme.AppCompat.Light) not found.
  error: resource style/Theme.AppCompat.Light.DarkActionBar (aka ca.greatwebdesign.masterminddeluxe:style/Theme.AppCompat.Light.DarkActionBar) not found.
  error: failed linking references.


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 1s
12 actionable tasks: 11 executed, 1 up-to-date

==========================================================

Я знаю, что так много людей сообщают об этой ошибке, я перепробовал их все, но никто не работает для меня

под Build.gradle

ext {
    var = '28.0.3'
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.4.0'
        classpath 'com.android.support:appcompat-v7:26.0.0-alpha1'
        classpath 'com.android.support:support-core-utils:28.0.0'
    }
}

allprojects {
    repositories {
        google()
        //maven {
        //    url "https://maven.google.com"
        //}
    }
}

=============================================== ===========

Под Gradle.wrapper.properties

#Sat Apr 27 17:09:14 EDT 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...