Skip to content

Build failed due to consumer-rules.pro #222

Description

@khank8476

Describe the bug
After adding the freeRASP version 8.0.0 to flutter the android build is failing due to consumer-rules.pro
FAILURE: Build failed with an exception.
[ ] * What went wrong:
[ ] Execution failed for task ':freerasp:exportReleaseConsumerProguardFiles'.
[ ] > Global keep option -flattenpackagehierarchy was specified as a consumerProguardFile
in

To Reproduce
Run flutter build apk --release

Expected behavior
The build should run properly

Please complete the following information:

  • building on windows 11
  • Android 16
  • freeRASP [8.0.0]

Additional context
I solved it by commenting out in consumer-rules.pro
# -flattenpackagehierarchy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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