-
Notifications
You must be signed in to change notification settings - Fork 549
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
NoClassDefFoundError on StandardCharsets for API 18 and below #129
Comments
This: |
StandardCharsets has been added in Java 1.7 and Android SDK 19 and thus cause a java.lang.NoClassDefFoundError in Android 18 and below. Should resolve issue aws-amplify#129
@adelpuva Thanks for reporting this. We are aware of this issue and have a fix for it (as pointed out by @danielesegato). Stay tuned for the next release. |
@adelpuva This is fixed in v2.2.16. For detailed changes, please refer to the change log. |
Thank you! |
In the last SDK (2.3.0) is also used StandardCharsets class in CognitoUser.java:
|
Hi!
The documentation says that AWS SDK supports Android API 10+, but two classes (https://github.com/aws/aws-sdk-android/search?utf8=✓&q=StandardCharsets) uses StandardCharset that is only available from 19 (http://developer.android.com/reference/java/nio/charset/StandardCharsets.html)
The text was updated successfully, but these errors were encountered: