I want to use a 3rd party payment library with aar file.
their documentation is
https://t.2c2p.com/Manuals/android/request_nonui/newpayment.html
the AAR file can be found here
https://2c2p-cloudfront.s3-ap-south...demoCode/Mobile/v3/PGW_SDK_ANDROID_v3.9.0.zip
however by just adding the aar code,
i have this error
cant find a similar error, any idea. Ty
their documentation is
https://t.2c2p.com/Manuals/android/request_nonui/newpayment.html
the AAR file can be found here
https://2c2p-cloudfront.s3-ap-south...demoCode/Mobile/v3/PGW_SDK_ANDROID_v3.9.0.zip
however by just adding the aar code,
#AdditionalJar:
#AdditionalJar: PGW_SDK_ANDROID_v3.9.0.aar
B4A Version: 10.50
Parsing code. (0.01s)
Java Version: 11
Building folders structure. (0.05s)
Compiling code. (0.01s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Generating R file. (0.00s)
Compiling generated Java code. (0.10s)
Convert byte code - optimized dex. Error
Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type java.lang.String[] using a local variable of type android.os.Parcel. This is symptomatic of .class transformation tools that ignore local variable information.
Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type java.lang.Object[] using a local variable of type com.samsung.android.sdk.samsungpay.SSamsungPay. This is symptomatic of .class transformation tools that ignore local variable information.
Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type java.lang.String[] using a local variable of type com.samsung.android.sdk.samsungpay.v2.VersionChecker. This is symptomatic of .class transformation tools that ignore local variable information.
Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type org.spongycastle.asn1.ASN1OctetString[] using a local variable of type org.spongycastle.asn1.ASN1Sequence. This is symptomatic of .class transformation tools that ignore local variable information.
Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type byte[] using a local variable of type org.spongycastle.asn1.ASN1OutputStream. This is symptomatic of .class transformation tools that ignore local variable information.
Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type byte[] using a local variable of type org.spongycastle.asn1.DERObjectIdentifier. This is symptomatic of .class transformation tools that ignore local variable information.
Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type byte[] using a local variable of type org.spongycastle.asn1.eac.CertificateHolderAuthorization. This is symptomatic of .class transformation tools that ignore local variable information.
Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type char[] using a local variable of type org.spongycastle.asn1.eac.PackedDate. This is symptomatic of .class transformation tools that ignore local variable information.
Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type byte[] using a local variable of type org.spongycastle.asn1.eac.UnsignedInteger. This is symptomatic of .class transformation tools that ignore local variable information.
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Translation has been interrupted
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:692)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:315)
at com.android.dx.command.dexer.Main.runDx(Main.java:293)
at com.android.dx.command.dexer.Main.main(Main.java:249)
at com.android.dx.command.Main.main(Main.java:94)
Caused by: java.lang.InterruptedException: Too many errors
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:684)
... 4 more
cant find a similar error, any idea. Ty