https://kotlinlang.org logo
Title
j

José Silva

11/09/2021, 8:17 PM
hi everyone. I’m getting an error while trying to use Scratch files on Android Studio Artic Fox:
Cannot access 'java.io.Serializable' which is a supertype of 'kotlin.IntArray'. Check your module classpath for missing or conflicting dependencies
this only happens when using Kotlin + Scratch files. Working with Kotlin in a project is totally fine, and the same happens when using Java in Scratch files. anyone has a similar problem, or knows what’s happening?
l

louiscad

01/04/2022, 6:17 PM
Hi, did you find the culprit?
j

José Silva

01/04/2022, 6:42 PM
hi Louis. no, I didn't. I was able to workaround it by installing the Android Studio Preview version, and then went back to Android Studio when 2020.3.1 Patch 4 was released. since then, no issues with Scratch files.
l

louiscad

01/05/2022, 12:34 AM
I found a workaround, which I documented in my issue report: https://issuetracker.google.com/issues/213131387
❤️ 1
j

José Silva

01/09/2022, 8:11 PM
oh, awesome. thank you!
l

louiscad

01/09/2022, 8:11 PM
Which OS are you on?
@José Silva I'm asking because I only documented the workaround for macOS, but I can add info for Linux and Windows
j

José Silva

01/09/2022, 8:12 PM
I’m on macOS too