Skip to content

File 'root/res/layout-ja/contact_header_name.xml' uses reserved file or directory name 'res'. #863

@vinayseasia

Description

@vinayseasia

I am able to build my android application on my local machine but build failed on bitrise with this error.

stack trace : > Task :app:packageDevelopmentBundle FAILED
Execution failed for task ':app:packageDevelopmentBundle'.

A failure occurred while executing com.android.build.gradle.internal.tasks.PackageBundleTask$BundleToolWorkAction
File 'root/res/layout-ja/contact_header_name.xml' uses reserved file or directory name 'res'.

I am not able to build my application.
AGP version : 7.2.1
Gradle version : 7.4.2
CompileSdk : 33,
MinSdk : 26,
TargetSdk : 32,
java : 11
Android Studio : Chipmunk | 2021.2.1 Patch 1 Build #AI-212.5712.43.2112.8609683, built on May 18, 2022

I tried to exclude "res/layout-ja/contact_header_name.xml" from packaging ,but packing still failed with different files names.

please let me know how I can fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions