Skip to content

Update AGP 8.3.1 broken deserialization #2606

Open
@ravenfeld

Description

@ravenfeld

Hello, I have switched to agp 8.3.1 on my Android project and if I activate the minify I have the following problem.

kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 0: Serializer for subclass

I suppose it's the JSON I'm receiving because there's a key with "type" but it's not used for polymorphism. But what I don't understand is why it works fine without minify.

Thank you for your help.

Environment

  • Kotlin version: [1.9.23]
  • Library version: [1.6.3]
  • Kotlin platforms: [e.g. JVM, JS, Native or their combinations]
  • Android Gradle Plugin version: [8.3.1]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions