Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while generating build in Android #9

Open
jagadishcc opened this issue Oct 10, 2017 · 1 comment
Open

Error while generating build in Android #9

jagadishcc opened this issue Oct 10, 2017 · 1 comment

Comments

@jagadishcc
Copy link

There is an error while generating build in android.

Error processing .../android/app/build/intermediates/exploded-aar/com.github.ajalt.reprint/reprint_spass/2.9.2/jars/libs/pass-v1.1.4.jar:com/samsung/android/sdk/pass/SpassFingerprint.class: broken class file?
Error processing .../android/app/build/intermediates/exploded-aar/com.github.ajalt.reprint/reprint_spass/2.9.2/jars/libs/pass-v1.1.4.jar:com/samsung/android/sdk/pass/support/SdkSupporter.class: broken class file?
Error processing .../android/app/build/intermediates/exploded-aar/com.github.ajalt.reprint/reprint_spass/2.9.2/jars/libs/pass-v1.1.4.jar:com/samsung/android/sdk/pass/support/v1/FingerprintManagerProxyFactory$a.class: broken class file?
@ilichmx
Copy link

ilichmx commented Feb 19, 2020

I had the same problem and the solution was as follows
In the node_modules folder go to the react-native-touch-id-android / Android directory and find the build.gradle file and edit it.

You will see this

compile 'com.github.ajalt.reprint:core:2.9.2@aar' // required, supports marshmallow devices
    compile 'com.github.ajalt.reprint:reprint_spass:2.9.2@aar' // optional: support for pre-marshmallow Samsung devices

And replace it with this.

    compile 'com.github.ajalt.reprint:core:3.3.2@aar' // required, supports marshmallow devices
    compile 'com.github.ajalt.reprint:reprint_spass:3.3.2@aar' // optional: support for pre-marshmallow Samsung devices

It worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants