Skip to content

[Android Build] Multiple entries with same key: android:allowBackup=REPLACE #627

@jerry7411

Description

@jerry7411

Report

Plugin Version

6.16.2

On what Platform are you having the issue?

android

What did you do?

npx react-native run-android

What did you expect to happen?

I want to see the application run normally without issues

What happened instead?

An error occurred.
Multiple entries with same key: android:allowBackup=REPLACE and android:allowBackup=REPLACE

Please provide any other relevant information.

<application
      android:name="...."
      android:largeHeap="true"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:roundIcon="@mipmap/ic_launcher_round"
      android:allowBackup="false"
      android:usesCleartextTraffic="true"
      android:networkSecurityConfig="@xml/network_security_config"
      android:theme="@style/AppTheme"
      tools:replace="android:name, android:allowBackup, android:usesCleartextTraffic"
      android:supportsRtl="true">
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions