Skip to content

Content provider conflict #215

@DanilGalimzyanov

Description

@DanilGalimzyanov

Describe the bug
If app have content provider in android/app/src/main/AndroidManifest.xml such as

        <provider
            android:name="some.mobile.ContextProvider"
            android:authorities="some.mobile.my_provider"
            android:exported="true"
            android:grantUriPermissions="true"
            tools:replace="android:authorities" />

app crash then build with error
// redacted, sensitive content
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugMainManifest'.

Manifest merger failed with multiple errors, see logs

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

BUILD FAILED in 16s
Error: Gradle task assembleDebug failed with exit code 1



**To Reproduce**
Integrated freerasp: ^7.5.1 and add android content provider.

**Expected behavior**
Succes build

**Screenshots**
no

**Please complete the following information:**
 - Device: Emulator
 - OS version: Android 11
 - Version of freeRASP: 7.5.1

**Additional context**
-

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions