You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that this issue might even result in a runtime crash, depending on which response we get from the server.
Possible Solution
The problem seems to lie in the Android framework JSONObject class, which doesn't contain the method keySet(). Probably there's a version difference between the framework and the one used by Amplitude project.
One possible solution would be to replace .keySet() calls in Response.kt by .keys().asSequence().toSet()
Environment
Amplitude analytics-android version: 1.16.7
Android minSDK: 26
Android targetSDK: 34
The text was updated successfully, but these errors were encountered:
Expected Behavior
The build should have performed without any ProGuard related warnings.
Current Behavior
I'm getting the following warning message from R8:
I believe that this issue might even result in a runtime crash, depending on which response we get from the server.
Possible Solution
The problem seems to lie in the Android framework JSONObject class, which doesn't contain the method
keySet()
. Probably there's a version difference between the framework and the one used by Amplitude project.One possible solution would be to replace
.keySet()
calls inResponse.kt
by.keys().asSequence().toSet()
Environment
The text was updated successfully, but these errors were encountered: