Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

minsdk #10

Closed
phanvanduc opened this issue Jun 22, 2016 · 5 comments
Closed

minsdk #10

phanvanduc opened this issue Jun 22, 2016 · 5 comments

Comments

@phanvanduc
Copy link

hi, guy
my project have min sdk is 10. And your lib is 14. I get error when build is uses-sdk:minSdkVersion 10 cannot be smaller than version 14 declared in library [com.github.ajalt.reprint:core:2.7.1]
Please help me. Thanks.

@itsjason
Copy link

You won't be able to use this library on older devices. If you are targeting those devices I doubt you also want to target Marshmallow devices as well, or even Samsung devices new enough to have their proprietary fingerprint API.

@ajalt
Copy link
Owner

ajalt commented Jun 22, 2016

@itsjason is correct, the pass SDK is documented as only working on API 17 and newer. There are no API 10 devices that have fingerprint readers. Only 2% of active devices are still running Gingerbread, so I recommend not supporting devices that old.

Having said that, I lowered the minSdk to 10 anyway in 2.7.2, and just return false from isHardwarePresent on devices that old.

@ajalt ajalt closed this as completed Jun 22, 2016
@phanvanduc
Copy link
Author

ok, i have new bug when build
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/samsung/android/sdk/pass/Spass.class
please help me

@ajalt
Copy link
Owner

ajalt commented Jun 23, 2016

Don't include the Samsung jar manually if you use this library.

@phanvanduc
Copy link
Author

please help me fix this, thanks

On Thu, Jun 23, 2016 at 10:23 AM, AJ Alt notifications@github.com wrote:

Don't include the Samsung jar manually if you use this library.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#10 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AGfHI-O8wQ21Rh0uAXpEI_GqS_4lTte9ks5qOfxDgaJpZM4I7qcU
.

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

No branches or pull requests

3 participants