Jenkins Android Build failed with an exception

Hi All, I am using Jenkins 2.423 in my local setup and trying to generate an Android Build (APK). The Build gets failed with below exception.I have used Flavoring in my code and underneath this error message is the config of my build.gradle.Can anyone help?

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processFlavorProdPublicNewProductionResources’.

Could not resolve all files for configuration ‘:app:flavorProdPublicNewProductionRuntimeClasspath’.
Failed to transform appcompat-1.4.0.aar (androidx.appcompat:appcompat:1.4.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\9e8b072eb64ae57571ff07f8bcaf8d63\transformed\appcompat-1.4.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\1b4bb196aa37a4a854056bb7dcc10fc7\transformed\androidx.appcompat: error: The system cannot find the file specified. (2).

Failed to transform play-services-base-17.0.0.aar (com.google.android.gms:play-services-base:17.0.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\0243de2cd93d8f88db6c8ba6dff9a08b\transformed\jetified-play-services-base-17.0.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\023ac8cc6f7d3c97e196f01fb71dac93\transformed\com.google.android.gms.base: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

  • 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 8.0.

You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See Command-Line Interface

BUILD FAILED in 1m 20s
33 actionable tasks: 32 executed, 1 up-to-date
Build step ‘Invoke Gradle script’ changed build result to FAILURE
Build step ‘Invoke Gradle script’ marked build as failure
Archiving artifacts
Finished: FAILURE

build.gradle

compileSdk 33

defaultConfig {
    applicationId "app.bandhan.bhp"
    minSdk 22
    targetSdk 33
    versionCode 38
    versionName "2.11.0"
    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    signingConfig signingConfigs.release
}

flavorDimensions "buildTypes"
productFlavors {
    flavorTest {
        dimension "buildTypes"
        applicationIdSuffix ".test"
        manifestPlaceholders = [flavorName: "@string/app_name_test"]
    }
    flavorDev {
        dimension "buildTypes"
        applicationIdSuffix ".dev"
        manifestPlaceholders = [flavorName: "@string/app_name_dev"]
    }
    flavorProd {
        dimension "buildTypes"
        manifestPlaceholders = [flavorName: "@string/app_name"]
    }
    flavorStag {
        dimension "buildTypes"
        applicationIdSuffix ".stag"
        manifestPlaceholders = [flavorName: "@string/app_name_stag"]
    }
    flavorTrain {
        dimension "buildTypes"
        applicationIdSuffix ".train"
        manifestPlaceholders = [flavorName: "@string/app_name_train"]
    }
}


buildTypes {
    debug {
        minifyEnabled false
        debuggable true
        buildConfigField "String", "BASE_URL", "\"http://192.168.153.91:6176\""
        signingConfig signingConfigs.release
    }

    /* all of local* build variants will point to 192.168.xxx.xxx ips */ androidResources
    localDev {
        minifyEnabled false
        debuggable true
        buildConfigField "String", "BASE_URL", "\"http://192.168.149.229:6180/bhp/api/v1/\""
        signingConfig signingConfigs.debug
    }
    localTest {
        minifyEnabled false
        debuggable true
        buildConfigField "String", "BASE_URL", "\"http://192.168.149.229:6181/bhp/api/v1/test/\""
        signingConfig signingConfigs.debug
    }
    localStaging {
        minifyEnabled false
        debuggable true
        buildConfigField "String", "BASE_URL", "\"http://192.168.149.221:6182/bhp/api/v1/staging/\""
        signingConfig signingConfigs.release
    }
    localProduction {
        minifyEnabled false
        debuggable true
        buildConfigField "String", "BASE_URL", "\"http://192.168.149.221:6183/bhp/api/v1/prod/\""
        signingConfig signingConfigs.release
    }
1 Like

Can anyone from the community help me on this?

Hello Victor,

Does this app build on the very same machine without Jenkins?
What do

./gradlew clean
./gradlew build

output?

Yes it does but from Android Studio itself.

1 Like

./gradlew clean outputs BUILD SUCCESSFUL

./gradlew build however FAILS with below log message-

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processFlavorDevDebugResources’.

Could not resolve all files for configuration ‘:app:flavorDevDebugRuntimeClasspath’.
Failed to transform appcompat-1.4.0.aar (androidx.appcompat:appcompat:1.4.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\9e8b072eb64ae57571ff07f8bcaf8d63\transformed\appcompat-1.4.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\1b4bb196aa37a4a854056bb7dcc10fc7\transformed\androidx.appcompat: error: The system cannot find the file specified. (2).

Failed to transform play-services-base-17.0.0.aar (com.google.android.gms:play-services-base:17.0.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\0243de2cd93d8f88db6c8ba6dff9a08b\transformed\jetified-play-services-base-17.0.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\023ac8cc6f7d3c97e196f01fb71dac93\transformed\com.google.android.gms.base: error: The system cannot find the file specified. (2).

Failed to transform core-1.7.0.aar (androidx.core:core:1.7.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\961eaf972c7a2b6abfa99bc82adaaffa\transformed\core-1.7.0.
Android resource compilation failed
ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\deb8b2765d0407ef46f0122c41559f17\transformed\androidx.core: error: The system cannot find the file specified. (2).

Which version of Java are you using within Android Studio and on the command line? The same question applies to Gradle.

jdk-11.0.15 - Using this java version on Android Studio and CLI. Gradle Plugin installed on Jenkins tray -2.8.2

Can anyone from the community guide me on this?

am trying to generate a release apk thorugh yml script. 1.First i prepared windows mahcine and installed android studio 2.I can able to generate the release apk in GUI Mode and cmd prompt , but i can’t able to generate the release apk through yml script. below error iam facing from more than a week.

Task :app:processReleaseMainManifest [com.google.android.gms:play-services-tagmanager:12.0.1] C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\59903d787d40edbded5d0ceb720c9856\transformed\jetified-play-services-tagmanager-12.0.1\AndroidManifest.xml Warning: Package name ‘com.google.android.gms.tagmanager’ used in: com.google.android.gms:play-services-tagmanager:12.0.1, com.google.android.gms:play-services-tagmanager-api:12.0.1. C:\GitLab-Runner\builds\ks7wyRV9\0\buildprocess\spectoapk\app\src\main\AndroidManifest.xml:28:5-65 Warning: Element uses-permission#android.permission.VIBRATE at AndroidManifest.xml:28:5-65 duplicated with element declared at AndroidManifest.xml:22:5-66 Task :app:processReleaseManifest Task :communicator:compileReleaseLibraryResources Task :app:processReleaseManifestForPackage Task :specto:compileReleaseLibraryResources Task :app:extractProguardFiles Task :communicator:bundleLibResRelease Task :specto:bundleLibCompileToJarRelease Task :app:processReleaseResources FAILED FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ‘:app:processReleaseResources’.

Could not resolve all files for configuration ‘:app:releaseRuntimeClasspath’. Failed to transform play-services-cast-framework-12.0.1.aar (com.google.android.gms:play-services-cast-framework:12.0.1) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\5364af0121771b691531e78f2f9a3c16\transformed\jetified-play-services-cast-framework-12.0.1. > Android resource compilation failed ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\8635cf2c80352829dcd09901c7b21377\transformed\com.google.android.gms.cast.framework: error: The system cannot find the file specified. (2).

Failed to transform play-services-cast-12.0.1.aar (com.google.android.gms:play-services-cast:12.0.1) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\c144de37d49f3842b4e142ad74da822b\transformed\jetified-play-services-cast-12.0.1. > Android resource compilation failed ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\f0288fa25f3e4abb12b0e471975b9ed0\transformed\com.google.android.gms.cast: error: The system cannot find the file specified. (2).

Failed to transform play-services-cast-12.0.1.aar (com.google.android.gms:play-services-cast:12.0.1) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\c144de37d49f3842b4e142ad74da822b\transformed\jetified-play-services-cast-12.0.1. > Android resource compilation failed ERROR:AAPT: C:\Windows\System32\config\systemprofile.gradle\caches\transforms-3\f0288fa25f3e4abb12b0e471975b9ed0\transformed\com.google.android.gms.cast: error: The system cannot find the file specified. (2).

  1. I tried upgrading the JDK and downgrading the JDK
  2. I deleted gradle cache and newly downloadled
  3. Now iam trying in bumble bee version , i tried with latest version also iguna , same issue …