TapLinx nxpnfcandroidlib 3.1: Unknown option "-dontdiversifyrasp"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TapLinx nxpnfcandroidlib 3.1: Unknown option "-dontdiversifyrasp"

550 Views
nicolalasagni
Contributor I

Hi,

I would need help with importing the TapLinx Android library version 3.1.0.

These are the info of the project configuration:

  • gradleWrapper: gradle-7.6-all.zip
  • gradle build tools: 7.4.2
  • compile/target sdk version: 33
  • firebase: analytics and crashlytics by using com.google.firebase:firebase-bom:32.3.1
  • NDK version used: 26.0.10792818

The release buildType has minifyEnabled set to true, and when I build the project I get the following error:

Unknown option "-dontdiversifyrasp"


The file which has that line is the proguard.txt under this folder: /nxpnfcandroidlib-3.1/build/.transforms/fdb0b64dfd6c16ef720d5aa2e3739251/transformed/jetified-nxpnfcandroidlib-3.1/proguard.txt

So, it seems that this generated file has an unrecognized option of proguard. This is blocking the build and I'm not able to continue. I've tried cleaning the project, invalidate the cache, but nothing changed.

Could someone help me to solve this please?

0 Kudos
5 Replies

286 Views
prabudda
Contributor I

is it released atm? I need the updated version.

0 Kudos

520 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Sorry this is a bug in our system, you will have to wait until it appears public or you have to deselected that.

Regards

0 Kudos

516 Views
nicolalasagni
Contributor I

Hi @Bio_TICFSL, do you know when a new version of the Android library will be available?

In the meantime, I found a workaround, but it is really fragile and I'd like for you to provide a quick fix as soon as possible please.

0 Kudos

509 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

There is one fix on schedule is in January 2024.

Regards

0 Kudos

106 Views
amichaels
Contributor I
it's now May 2024, is the fix available ?
0 Kudos